Searched defs:cchCurDir (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Runtime/generic/
H A DRTPathAbs-generic.cpp221 size_t cchCurDir; local
260 cchCurDir = fsCleanPath(szCurDir);
261 if (fNeedSlash && cchCurDir > 0 && szCurDir[cchCurDir - 1] == RTPATH_SLASH)
264 if (cchCurDir + fNeedSlash + cchTmpPath - offApplyAt <= RTPATH_MAX)
266 memmove(szTmpPath + cchCurDir + fNeedSlash, szTmpPath + offApplyAt, cchTmpPath + 1 - offApplyAt);
267 memcpy(szTmpPath, szCurDir, cchCurDir);
269 szTmpPath[cchCurDir] = RTPATH_SLASH;
/vbox/src/VBox/Additions/WINNT/Installer/Loader/
H A DVBoxWindowsAdditions.cpp121 DWORD cchCurDir = GetCurrentDirectoryW(sizeof(wszCurDir), wszCurDir); local
122 if (cchCurDir == 0 || cchCurDir >= sizeof(wszCurDir))
124 fwprintf(stderr, L"ERROR: GetCurrentDirectoryW failed: %u (ret %u)\n", GetLastError(), cchCurDir);

Completed in 42 milliseconds