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

/vbox/src/VBox/Devices/Parallel/
H A DDrvHostParallel.cpp432 DWORD dwBufSize = 0; local
436 dwBufSize, (PDWORD)&dwBufSize))
440 LogFlow(("ERROR_INSUFF_BUFF = %d. dwBufSz = %d\n", GetLastError(), dwBufSize));
443 pBuf = (uint8_t *)RTMemAlloc(dwBufSize * 2);
451 LogFlow(("GetDevProp Error = %d & dwBufSz = %d\n", GetLastError(), dwBufSize));
/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 49 milliseconds