/reactos/modules/rostests/apitests/user32/ |
H A D | CopyImage.c | 84 DWORD LastError; in Test_CopyImage_hImage_NULL() local 89 LastError = GetLastError(); in Test_CopyImage_hImage_NULL() 90 ok(LastError == ERROR_INVALID_CURSOR_HANDLE, "Wrong error 0x%08lx returned\n", LastError); in Test_CopyImage_hImage_NULL() 95 LastError = GetLastError(); in Test_CopyImage_hImage_NULL() 96 ok(LastError == ERROR_INVALID_HANDLE, "Wrong error 0x%08lx returned\n", LastError); in Test_CopyImage_hImage_NULL() 102 LastError = GetLastError(); in Test_CopyImage_hImage_NULL() 110 LastError = GetLastError(); in Test_CopyImage_hImage_NULL() 111 ok(LastError == ERROR_INVALID_PARAMETER, "Wrong error 0x%08lx returned\n", LastError); in Test_CopyImage_hImage_NULL() 117 LastError = GetLastError(); in Test_CopyImage_hImage_NULL() 118 ok(LastError == ERROR_INVALID_PARAMETER, "Wrong error 0x%08lx returned\n", LastError); in Test_CopyImage_hImage_NULL() [all …]
|
/reactos/modules/rostests/apitests/advapi32/ |
H A D | eventlog.c | 21 DWORD LastError; in START_TEST() member 46 DWORD LastError; in START_TEST() local 68 LastError = GetLastError(); in START_TEST() 70 if (LastError == ERROR_ENVVAR_NOT_FOUND) in START_TEST() 71 LastError = ERROR_SUCCESS; in START_TEST() 73 … ok( ( (Success == Tests[i].Result[0].Success) && (LastError == Tests[i].Result[0].LastError) ) || in START_TEST() 74 …broken( (Success == FALSE) && (LastError == ERROR_INVALID_PARAMETER) /* For Win2k3, see above */) … in START_TEST() 78 …i, Success, LastError, (Tests[i].Result[0].Success ? "TRUE" : "FALSE"), Tests[i].Result[0].LastErr… in START_TEST()
|
/reactos/base/applications/cacls/ |
H A D | cacls.c | 410 DWORD LastError; in PrintDaclsOfFiles() local 452 LastError = GetLastError(); in PrintDaclsOfFiles() 457 PrintError(LastError); in PrintDaclsOfFiles() 594 DWORD LastError; in ChangeACLsOfFiles() local 631 LastError = GetLastError(); in ChangeACLsOfFiles() 636 PrintError(LastError); in ChangeACLsOfFiles() 649 DWORD LastError; in ChangeACLsOfFilesInCurDir() local 686 LastError = GetLastError(); in ChangeACLsOfFilesInCurDir() 691 PrintError(LastError); in ChangeACLsOfFilesInCurDir() 732 LastError = GetLastError(); in ChangeACLsOfFilesInCurDir() [all …]
|
/reactos/dll/win32/kernel32/client/file/ |
H A D | filename.c | 96 DWORD FileAttributes, LastError; in GetTempFileNameW() local 212 LastError = GetLastError(); in GetTempFileNameW() 214 if (LastError == ERROR_INVALID_PARAMETER || LastError == ERROR_CANNOT_MAKE || in GetTempFileNameW() 215 LastError == ERROR_WRITE_PROTECT || LastError == ERROR_NETWORK_ACCESS_DENIED || in GetTempFileNameW() 216 LastError == ERROR_DISK_FULL || LastError == ERROR_INVALID_NAME || in GetTempFileNameW() 217 LastError == ERROR_BAD_PATHNAME || LastError == ERROR_NO_INHERITANCE || in GetTempFileNameW() 218 LastError == ERROR_DISK_CORRUPT || in GetTempFileNameW() 219 …(LastError == ERROR_ACCESS_DENIED && NtCurrentTeb()->LastStatusValue != STATUS_FILE_IS_A_DIRECTORY… in GetTempFileNameW()
|
/reactos/modules/rosapps/applications/sysutils/utils/nts2w32err/ |
H A D | nts2w32err.c | 25 DWORD LastError = ERROR_SUCCESS; in main() local 46 LastError = RtlNtStatusToDosError (Status); in main() 47 if (ERROR_MR_MID_NOT_FOUND != LastError) in main() 49 printf ("0x%08lx => %ldL\n", Status, LastError); in main()
|
/reactos/win32ss/user/user32/misc/ |
H A D | exit.c | 120 if (ExitReactOSRequest->LastError != ERROR_SUCCESS) in ExitWindowsWorker() 121 UserSetLastError(ExitReactOSRequest->LastError); in ExitWindowsWorker() 230 if (EndTaskRequest->LastError != ERROR_SUCCESS) in EndTask() 231 UserSetLastError(EndTaskRequest->LastError); in EndTask()
|
/reactos/sdk/include/reactos/subsys/win/ |
H A D | winmsg.h | 50 DWORD LastError; member 57 DWORD LastError; member
|
/reactos/dll/win32/advapi32/misc/ |
H A D | shutdown.c | 323 INT LastError; in InitiateShutdownA() local 362 LastError = GetLastError(); in InitiateShutdownA() 371 SetLastError(LastError); in InitiateShutdownA()
|
/reactos/subsystems/mvdm/ntvdm/ |
H A D | vddsup.c | 125 DWORD LastError = GetLastError(); in ThirdPartyVDDBop() local 128 if (LastError == ERROR_NOT_ENOUGH_MEMORY) in ThirdPartyVDDBop() 136 DPRINT1("Failed to load DLL '%s'; last error = %d\n", DllName, LastError); in ThirdPartyVDDBop()
|
H A D | emulator.c | 233 DWORD LastError = GetLastError(); in ConsoleEventThread() local 234 …INT1("Error reading console input (0x%p, %lu) - Error %lu\n", ConsoleInput, NumRecords, LastError); in ConsoleEventThread() 235 return LastError; in ConsoleEventThread()
|
/reactos/sdk/include/psdk/ |
H A D | delayloadhandler.h | 46 ULONG LastError; member
|
H A D | rasshost.h | 27 DWORD LastError; member
|
/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/ |
H A D | dosfiles.c | 188 WORD LastError; in DosCreateFileEx() local 342 LastError = (WORD)GetLastError(); in DosCreateFileEx() 347 return LastError; in DosCreateFileEx() 378 if (LastError == ERROR_ALREADY_EXISTS) in DosCreateFileEx() 388 if (LastError == ERROR_ALREADY_EXISTS) in DosCreateFileEx()
|
/reactos/dll/cpl/sysdm/ |
H A D | general.c | 42 DWORD LastError; in ShowLastWin32Error() local 44 LastError = GetLastError(); in ShowLastWin32Error() 45 if (LastError == ERROR_SUCCESS) in ShowLastWin32Error() 52 LastError, in ShowLastWin32Error()
|
/reactos/dll/win32/syssetup/ |
H A D | wizard.c | 50 DWORD LastError; member 2081 RegistrationNotify.LastError = StatusInfo->Win32Error; in RegistrationNotificationProc() 2086 RegistrationNotify.LastError = ERROR_SUCCESS; in RegistrationNotificationProc() 2118 DWORD LastError = NO_ERROR; in RegisterDlls() local 2166 LastError = GetLastError(); in RegisterDlls() 2172 LastError = RtlNtStatusToDosError(_SEH2_GetExceptionCode()); in RegisterDlls() 2178 SendMessage(pItemsData->hwndDlg, PM_ITEM_END, 0, LastError); in RegisterDlls() 2252 DWORD LastError) in ShowItemError() argument 2268 _ultow(LastError, UnknownError + wcslen(UnknownError), 10); in ShowItemError() 2310 RegistrationNotify->LastError, 0, in ShowStepError() [all …]
|
/reactos/win32ss/user/winsrv/usersrv/ |
H A D | shutdown.c | 819 ExitReactOSRequest->LastError = GetLastError(); in CSR_API() 853 EndTaskRequest->LastError = GetLastError(); in CSR_API() 863 EndTaskRequest->LastError = ERROR_SUCCESS; in CSR_API()
|
/reactos/sdk/lib/3rdparty/libwine/ |
H A D | debug.c | 225 DWORD LastError = GetLastError(); in debug_init() local 269 SetLastError(LastError); in debug_init()
|
/reactos/modules/rostests/winetests/kernel32/ |
H A D | comm.c | 452 DWORD LastError = GetLastError(); in check_result() local 455 …ok(LastError == CorrectError, "%s(\"%s\"), 0x%02x: GetLastError() returned %d, should be %d\n", fu… in check_result() 755 DWORD before, after, read, timediff, LastError; in test_ReadTimeOut() local 779 LastError = GetLastError(); in test_ReadTimeOut() 782 ok( LastError == 0xdeadbeef, "err=%d\n", LastError); in test_ReadTimeOut()
|
H A D | loader.c | 3386 ok(pd->LastError, "no LastError supplied\n"); in failuredllhook()
|
/reactos/sdk/lib/rtl/ |
H A D | error.c | 151 RtlSetLastWin32Error(IN ULONG LastError) in RtlSetLastWin32Error() argument 153 NtCurrentTeb()->LastErrorValue = LastError; in RtlSetLastWin32Error()
|
/reactos/drivers/filesystems/udfs/udf_info/ |
H A D | phys_eject.cpp | 218 …ror->SenseKey, Error->AdditionalSenseCode, Error->AdditionalSenseCodeQualifier, Error->LastError)); in UDFEjectReqWaiter()
|
/reactos/drivers/filesystems/udfs/CDRW/ |
H A D | cdrw_usr.h | 1322 ULONG LastError; member
|
/reactos/drivers/filesystems/udfs/Include/ |
H A D | phys_lib.cpp | 1209 …ror->SenseKey, Error->AdditionalSenseCode, Error->AdditionalSenseCodeQualifier, Error->LastError)); in UDFPrepareForWriteOperation() 1333 …ror->SenseKey, Error->AdditionalSenseCode, Error->AdditionalSenseCodeQualifier, Error->LastError)); in UDFRecoverFromError() 1529 if((Error->LastError == CDRW_ERR_WRITE_IN_PROGRESS_BUSY) || in UDFRecoverFromError()
|
/reactos/sdk/include/ndk/ |
H A D | rtlfuncs.h | 727 _In_ ULONG LastError
|