MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / folderPath

Method folderPath

source/src/tools/system.h:47–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46 static std::wstring environmentVariable(LPCWSTR name) { PATH_BUFFERW(str); GetEnvironmentVariableW(name, str, PATH_BUFFER_SIZE); return str; }
47 static std::wstring folderPath(int csidl = CSIDL_DESKTOP) { PATH_BUFFERW(str); SHGetFolderPathW(0, csidl, 0, SHGFP_TYPE_CURRENT, str); return str; }
48 static bool ClipBoardText(LPCWSTR str) {
49 size_t size = (wcslen(str) + 1) * sizeof(wchar_t);
50 HANDLE hGlobalMemory = GlobalAlloc(GMEM_MOVEABLE, size);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected