Lines Matching refs:GetLastError
777 fatal(err_msg("Error = %d\nWindows error", GetLastError()));
1083 if (GetLastError() != ERROR_FILE_NOT_FOUND) {
1106 if (GetLastError() == ERROR_INVALID_HANDLE) {
1455 DWORD errcode = GetLastError();
1798 if ((errval = GetLastError()) != 0) {
1832 DWORD error = GetLastError();
2731 // privilege. Check GetLastError() too. See MSDN document.
2733 (GetLastError() == ERROR_SUCCESS)) {
4273 if ((ret == 0xFFFFFFFF) && (::GetLastError() != NO_ERROR)) {
4293 (GetLastError() != ERROR_ACCESS_DENIED) ) {
4363 if (::GetLastError() != ERROR_BROKEN_PIPE) {
4447 DWORD err = GetLastError();
4448 tty->print_cr("CreateFile() failed: GetLastError->%ld.");
4468 DWORD err = GetLastError();
4469 tty->print_cr("VirtualAlloc() failed: GetLastError->%ld.", err);
4485 DWORD err = GetLastError();
4486 tty->print_cr("ReadFile() failed: GetLastError->%ld.", err);
4497 DWORD err = GetLastError();
4498 tty->print_cr("CreateFileMapping() failed: GetLastError->%ld.");
4509 DWORD err = GetLastError();
4510 tty->print_cr("MapViewOfFileEx() failed: GetLastError->%ld.", err);
4519 DWORD err = GetLastError();
4520 tty->print_cr("CloseHandle(hMap) failed: GetLastError->%ld.", err);
4534 DWORD err = GetLastError();
4535 tty->print_cr("VirtualProtect() failed: GetLastError->%ld.", err);
4546 DWORD err = GetLastError();
4547 tty->print_cr("CloseHandle(hFile) failed: GetLastError->%ld.", err);
4582 DWORD err = GetLastError();
4583 tty->print_cr("UnmapViewOfFile() failed: GetLastError->%ld.", err);
4889 DWORD err = GetLastError();
4939 ::GetLastError());