MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / get

Function get

plugins/Trayicon/lib/winfolders.py:44–48  ·  view source on GitHub ↗
(intFolder)

Source from the content-addressed store, hash-verified

42ALLUSERSAPPLICATIONDATA= 35
43
44def get(intFolder):
45 _SHGetFolderPath.argtypes = [_HWND, _ctypes.c_int, _HANDLE, _DWORD, _LPCWSTR]
46 auPathBuffer = _cub(_MAX_PATH)
47 exit_code=_SHGetFolderPath(0, intFolder, 0, 0, auPathBuffer)
48 return auPathBuffer.value
49
50
51if __name__ == "__main__":

Callers 1

winfolders.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected