Searched refs:cwcPath (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/GuestHost/OpenGL/util/
H A Ddll.c170 UINT cwcPath = 0; local
179 cwcPath = GetSystemDirectoryW(szwPath, RT_ELEMENTS(szwPath));
180 if (!cwcPath || cwcPath >= MAX_PATH)
189 cwcPath = GetModuleFileNameW(NULL, szwPath, RT_ELEMENTS(szwPath));
190 if (!cwcPath || cwcPath >= MAX_PATH)
206 cwcPath = pszwSlashFile - szwPath;
209 if (cwcPath + 1 + cName > MAX_PATH)
215 szwPath[cwcPath]
[all...]
/vbox/src/VBox/Additions/WINNT/Installer/
H A DVBoxDrvInst.cpp144 UINT cwcPath = GetModuleFileNameW(NULL, wszPath, MAX_PATH); local
145 if (!cwcPath || cwcPath >= MAX_PATH)
149 UINT off = cwcPath - 1;
157 cwcPath = off;
168 if (cwcPath + 1 + cwcName + 1 > MAX_PATH)
171 wszPath[cwcPath] = '\\';
172 memcpy(&wszPath[cwcPath + 1], pwszName, (cwcName + 1) * sizeof(wszPath[0]));
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPR3HardenedMain-win.cpp149 /** cwcPath * sizeof(RTUTF16). */
1557 * @param cwcPath The size of the path buffer.
1562 static NTSTATUS supR3HardenedCopyRedirectionResult(WCHAR *pwszPath, size_t cwcPath, PUNICODE_STRING pUniStrResult, argument
1571 if (cwc > cwcPath - 1)
/vbox/include/iprt/nt/
H A Dnt.h258 * @param cwcPath The max length of the windows-style path in
262 RTDECL(int) RTNtPathFromWinUtf16Ex(struct _UNICODE_STRING *pNtName, HANDLE *phRootDir, PCRTUTF16 pwszPath, size_t cwcPath);

Completed in 100 milliseconds