MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / GetLocalDataFolder

Function GetLocalDataFolder

FastCopyShellExtension/Recorder.cpp:10–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "Registry.h"
9
10static auto GetLocalDataFolder()
11{
12 static std::wstring ret = []
13 {
14 wchar_t* ptr;
15 SHGetKnownFolderPath(FOLDERID_LocalAppData, 0, NULL, &ptr);
16 std::wstring result{ ptr };
17 CoTaskMemFree(ptr);
18 auto ret = result + LR"(\packages\FastCopy_tp1tpcm9wdwpy\LocalCache\Local)";
19
20 return ret;
21 }();
22 return ret;
23}
24
25static auto GetTimeString()
26{

Callers 3

RecorderMethod · 0.70
GetRecordFilePathMethod · 0.70
HasRecordMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected