(intFolder)
| 42 | ALLUSERSAPPLICATIONDATA= 35 |
| 43 | |
| 44 | def 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 | |
| 51 | if __name__ == "__main__": |