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

/vbox/src/VBox/Main/src-client/
H A DConsoleImpl2.cpp833 UINT cNeeded = 0; local
841 cNeeded = GetWindowsDirectory(szSystemRoot, RT_ELEMENTS(szSystemRoot));
842 if (cNeeded == 0)
850 else if (cNeeded > RT_ELEMENTS(szSystemRoot))
853 pszSystemRoot = (TCHAR *)RTMemTmpAlloc(cNeeded * sizeof(_TCHAR));
856 AssertLogRelMsgFailed(("RTMemTmpAlloc failed to allocate %d bytes\n", cNeeded));
859 if (GetWindowsDirectory(pszSystemRoot, cNeeded) == 0)

Completed in 104 milliseconds