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

/vbox/src/VBox/Additions/WINNT/Installer/InstallHelper/
H A DVBoxGuestInstallHelper.cpp167 static void vboxChar2WCharFree(PWCHAR pwString) argument
169 if (pwString)
170 HeapFree(GetProcessHeap(), 0, pwString); local
177 WCHAR *pwString = (WCHAR*)HeapAlloc(GetProcessHeap(), 0, iLen * sizeof(WCHAR)); local
178 if (!pwString)
182 if (MultiByteToWideChar(CP_ACP, 0, pszString, -1, pwString, iLen) == 0)
185 HeapFree(GetProcessHeap(), 0, pwString); local
190 *ppwString = pwString;

Completed in 65 milliseconds