/vbox/src/VBox/Additions/common/VBoxService/testcase/ |
H A D | tstUserInfo.cpp | 50 WCHAR wszPath[MAX_PATH]; local 51 HRESULT hRes = SHGetFolderPathW(0, CSIDL_APPDATA, 0, 0, wszPath); 55 RTPrintf("SHGetFolderPathW (CSIDL_APPDATA) = %ls\n", wszPath); 56 hRes = SHGetFolderPathW(0, CSIDL_PERSONAL, 0, 0, wszPath); 59 RTPrintf("SHGetFolderPathW (CSIDL_PERSONAL) = %ls\n", wszPath);
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | path-win.cpp | 166 RTUTF16 wszPath[RTPATH_MAX]; local 180 HRESULT hrc = pfnSHGetFolderPathW(0, CSIDL_PROFILE, NULL, SHGFP_TYPE_CURRENT, wszPath); 188 || (dwAttr = GetFileAttributesW(&wszPath[0])) == INVALID_FILE_ATTRIBUTES 194 if ( !GetEnvironmentVariableW(L"USERPROFILE", &wszPath[0], RTPATH_MAX) 195 || (dwAttr = GetFileAttributesW(&wszPath[0])) == INVALID_FILE_ATTRIBUTES 199 if (!GetEnvironmentVariableW(L"HOMEDRIVE", &wszPath[0], RTPATH_MAX)) 201 size_t const cwc = RTUtf16Len(&wszPath[0]); 202 if ( !GetEnvironmentVariableW(L"HOMEPATH", &wszPath[cwc], RTPATH_MAX - (DWORD)cwc) 203 || (dwAttr = GetFileAttributesW(&wszPath[0])) == INVALID_FILE_ATTRIBUTES 212 return RTUtf16ToUtf8Ex(&wszPath[ 232 RTUTF16 wszPath[RTPATH_MAX]; local [all...] |
/vbox/src/VBox/HostDrivers/Support/win/ |
H A D | SUPR3HardenedMain-win.cpp | 152 RTUTF16 wszPath[1]; member in struct:VERIFIERCACHEENTRY 451 WCHAR wszPath[RTPATH_MAX]; local 452 PRTUTF16 pwszPath = wszPath; 453 int rc = RTStrToUtf16Ex(pszName, RTSTR_MAX, &pwszPath, RT_ELEMENTS(wszPath), NULL); 471 void *pvRet = (void *)LoadLibraryExW(wszPath, NULL /*hFile*/, fFlags); 478 pvRet = (void *)LoadLibraryExW(wszPath, NULL /*hFile*/, 0); 626 memcpy(pEntry->wszPath, pUniStr->Buffer, pUniStr->Length); 627 pEntry->wszPath[pUniStr->Length / sizeof(WCHAR)] = '\0'; 653 && supR3HardenedWinVerifyCacheIsMatch(pOther->wszPath, pEntry->wszPath, pEntr 905 RTUTF16 wszPath[260 + 260]; /* Assumes we've limited the import name length to 256. */ local 1656 WCHAR wszPath[260]; local [all...] |
H A D | SUPHardenedVerifyProcess-win.cpp | 2262 WCHAR wszPath[64]; local 2263 memcpy(wszPath, s_wszSystem32, sizeof(s_wszSystem32)); 2264 RTUtf16CatAscii(wszPath, sizeof(wszPath), pszName); 2267 UniStr.Buffer = wszPath; 2268 UniStr.Length = (USHORT)(RTUtf16Len(wszPath) * sizeof(WCHAR));
|
/vbox/src/VBox/Additions/WINNT/Installer/ |
H A D | VBoxDrvInst.cpp | 143 WCHAR wszPath[MAX_PATH]; local 144 UINT cwcPath = GetModuleFileNameW(NULL, wszPath, MAX_PATH); 152 if ( wszPath[off] == '\\' 153 || wszPath[off] == '/' 154 || wszPath[off] == ':') 156 wszPath[off] = '\0'; 171 wszPath[cwcPath] = '\\'; 172 memcpy(&wszPath[cwcPath + 1], pwszName, (cwcName + 1) * sizeof(wszPath[0])); 173 return LoadLibraryW(wszPath); [all...] |
/vbox/src/VBox/Installer/win/InstallHelper/ |
H A D | VBoxInstallHelper.cpp | 198 WCHAR wszPath[MAX_PATH] = { 0 }; local 204 DWORD dwLen = sizeof(wszPath); 211 swprintf_s(wszPath, RT_ELEMENTS(wszPath), L"%s\\InstallPath", wszRoot); 215 rc = RegOpenKeyExW(hkPythonCore, wszPath, 0, KEY_READ, &hkPythonInstPath); 259 swprintf_s(wszPath, RT_ELEMENTS(wszPath), L"%s", wszPathTargetDir); 269 DWORD dwRetExec = Exec(hModule, wszExec, wszCmdLine, wszPath, &dwExitCode);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/ |
H A D | dinput.h | 735 WCHAR wszPath[MAX_PATH]; member in struct:DIPROPGUIDANDPATH
|
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ |
H A D | dinput.h | 878 WCHAR wszPath[MAX_PATH]; member in struct:DIPROPGUIDANDPATH
|