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

/vbox/src/VBox/HostDrivers/VBoxUSB/win/Install/
H A DUSBInstall.cpp122 DWORD dwLastError = GetLastError(); local
123 int rc = RTErrConvertFromWin32(dwLastError);
125 AssertMsg(hSMgrCreate, ("OpenSCManager(,,create) failed rc=%d\n", dwLastError));
131 DWORD dwLastError = GetLastError(); local
134 AssertMsg(hService, ("OpenService failed! LastError=%Rwa, pszDriver=%s\n", dwLastError, pszDriverPath));
135 rc = RTErrConvertFromWin32(dwLastError);
156 AssertMsg(hService, ("ChangeServiceConfig failed! LastError=%Rwa, pszDriver=%s\n", dwLastError, pszDriverPath));
157 rc = RTErrConvertFromWin32(dwLastError);
181 DWORD dwLastError = GetLastError(); local
182 int rc = RTErrConvertFromWin32(dwLastError);
201 DWORD dwLastError = GetLastError(); local
[all...]
/vbox/src/VBox/Devices/Storage/
H A DDrvHostFloppy.cpp90 DWORD dwLastError; local
92 dwLastError = GetLastError();
93 rc = RTErrConvertFromWin32(dwLastError);
95 pThis->pszDevice, dwLastError, rc));
/vbox/src/VBox/Additions/WINNT/Installer/
H A DVBoxDrvInst.cpp98 bool GetErrorMsg(DWORD dwLastError, _TCHAR *pszMsg, DWORD dwBufSize) argument
100 if (::FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, dwLastError, 0, pszMsg, dwBufSize / sizeof(TCHAR), NULL) == 0)
102 _sntprintf(pszMsg, dwBufSize / sizeof(TCHAR), _T("Unknown error!\n"), dwLastError);

Completed in 46 milliseconds