Home
last modified time | relevance | path

Searched refs:ERROR_NOACCESS (Results 1 – 25 of 44) sorted by relevance

12

/reactos/modules/rostests/apitests/user32/
H A DGetUserObjectInformation.c72 ok(_Error == ERROR_NOACCESS, "Error = %lu\n", _Error); \
126 …ULL, UOI_FLAGS, NULL, 1, FALSE, ERROR_NOACCESS, NO… in TestGetUserObjectInfoW()
127 …ULL, UOI_FLAGS, UlongToPtr(1), 1, FALSE, ERROR_NOACCESS, NO… in TestGetUserObjectInfoW()
132 …ULL, UOI_TYPE, NULL, 1, FALSE, ERROR_NOACCESS, NO… in TestGetUserObjectInfoW()
133 …ULL, UOI_TYPE, UlongToPtr(1), 1, FALSE, ERROR_NOACCESS, NO… in TestGetUserObjectInfoW()
138 …ULL, UOI_NAME, NULL, 1, FALSE, ERROR_NOACCESS, NO… in TestGetUserObjectInfoW()
139 …ULL, UOI_NAME, UlongToPtr(1), 1, FALSE, ERROR_NOACCESS, NO… in TestGetUserObjectInfoW()
161 …esktop, UOI_FLAGS, NULL, 1, FALSE, ERROR_NOACCESS, NO… in TestGetUserObjectInfoW()
162 …esktop, UOI_FLAGS, UlongToPtr(1), 1, FALSE, ERROR_NOACCESS, NO… in TestGetUserObjectInfoW()
277 …esktop, UOI_TYPE, Buffer, BufferSize + 1, FALSE, ERROR_NOACCESS, NO… in TestGetUserObjectInfoW()
[all …]
H A DGetWindowPlacement.c33 ok(error == ERROR_NOACCESS, "error = %lu\n", error); in START_TEST()
39 ok(error == ERROR_NOACCESS, "error = %lu\n", error); in START_TEST()
/reactos/modules/rostests/apitests/gdi32/
H A DSetSysColors.c32 ok(GetLastError() == ERROR_NOACCESS, "Expected ERROR_NOACCESS, got %ld\n", GetLastError()); in Test_SetSysColors()
37 ok(GetLastError() == ERROR_NOACCESS, "Expected ERROR_NOACCESS, got %ld\n", GetLastError()); in Test_SetSysColors()
39 ok(GetLastError() == ERROR_NOACCESS, "Expected ERROR_NOACCESS, got %ld\n", GetLastError()); in Test_SetSysColors()
H A DGetObject.c153 …ok((GetLastError() == 0xbadbad00) || (GetLastError() == ERROR_NOACCESS), "wrong error: %ld\n", Get… in Test_General()
156 …ok((GetLastError() == 0xbadbad00) || (GetLastError() == ERROR_NOACCESS), "wrong error: %ld\n", Get… in Test_General()
159 …ok((GetLastError() == 0xbadbad00) || (GetLastError() == ERROR_NOACCESS), "wrong error: %ld\n", Get… in Test_General()
190 …ok((GetLastError() == 0xbadbad00) || (GetLastError() == ERROR_NOACCESS), "wrong error: %ld\n", Get… in Test_General()
198 …ok((GetLastError() == 0xbadbad00) || (GetLastError() == ERROR_NOACCESS), "wrong error: %ld\n", Get… in Test_General()
511 …ok((GetLastError() == 0xbadbad00) || (GetLastError() == ERROR_NOACCESS), "wrong error: %ld\n", Get… in Test_ExtPen()
/reactos/modules/rostests/apitests/advapi32/
H A DSaferIdentifyLevel.c26 ok(error == ERROR_NOACCESS, "error = %lu\n", error); in START_TEST()
48 ok(error == ERROR_NOACCESS, "error = %lu\n", error); in START_TEST()
/reactos/dll/win32/advapi32/misc/
H A Devntrace.c41 return ERROR_NOACCESS; in ProcessTrace()
/reactos/sdk/lib/rtl/
H A Derror.c319 ERROR_NOACCESS, /* 80000002 (STATUS_DATATYPE_MISALIGNMENT) */
469 ERROR_NOACCESS, /* c0000005 (STATUS_ACCESS_VIOLATION) */
1075 ERROR_NOACCESS, /* c00002c5 (STATUS_DATATYPE_MISALIGNMENT_ERROR) */
/reactos/modules/rostests/apitests/win32nt/ntuser/
H A DNtUserScrollDC.c89 RTEST(GetLastError() == ERROR_NOACCESS); in START_TEST()
/reactos/dll/win32/advapi32/sec/
H A Dsafer.c53 SetLastError(ERROR_NOACCESS); in SaferIdentifyLevel()
/reactos/win32ss/gdi/gdi32/objects/
H A Dgdiobj.c272 SetLastError(ERROR_NOACCESS); in GetObjectW()
/reactos/modules/rostests/apitests/ntdll/
H A Dload_notifications.c133 ok_hex(dwErr, ERROR_NOACCESS); in execute_test()
/reactos/modules/rostests/winetests/gdi32/
H A Dgdiobj.c88 ok (!i && (GetLastError() == 0 || GetLastError() == ERROR_NOACCESS), in test_gdi_objects()
/reactos/modules/rostests/winetests/psapi/
H A Dpsapi_main.c101 …ok(GetLastError() == ERROR_NOACCESS, "expected error=ERROR_NOACCESS but got %d\n", GetLastError()); in test_EnumProcessModules()
112 …ok(GetLastError() == ERROR_NOACCESS, "expected error=ERROR_NOACCESS but got %d\n", GetLastError()); in test_EnumProcessModules()
/reactos/modules/rostests/winetests/kernel32/
H A Dconsole.c1440 {NULL, NULL, 1, &count, ERROR_NOACCESS, ERROR_INVALID_ACCESS}, in test_WriteConsoleInputA()
1455 {input_handle, NULL, 1, &count, ERROR_NOACCESS, ERROR_INVALID_ACCESS}, in test_WriteConsoleInputA()
1677 {NULL, NULL, 1, &count, ERROR_NOACCESS, ERROR_INVALID_ACCESS}, in test_WriteConsoleInputW()
1692 {input_handle, NULL, 1, &count, ERROR_NOACCESS, ERROR_INVALID_ACCESS}, in test_WriteConsoleInputW()
2600 GetLastError() == ERROR_NOACCESS, /* Win 8, 10 */ in test_ReadConsole()
2609 GetLastError() == ERROR_NOACCESS, /* Win 8, 10 */ in test_ReadConsole()
2618 GetLastError() == ERROR_NOACCESS, /* Win 8, 10 */ in test_ReadConsole()
H A Dvirtual.c127 ok( GetLastError() == ERROR_NOACCESS || in test_VirtualAllocEx()
133 ok( GetLastError() == ERROR_NOACCESS, "wrong error %u\n", GetLastError() ); in test_VirtualAllocEx()
140 ok( GetLastError() == ERROR_NOACCESS || in test_VirtualAllocEx()
146 ok( GetLastError() == ERROR_NOACCESS, "wrong error %u\n", GetLastError() ); in test_VirtualAllocEx()
1788 ok( GetLastError() == ERROR_NOACCESS, "wrong error %u\n", GetLastError() ); in test_write_watch()
1794 ok( GetLastError() == ERROR_NOACCESS, "wrong error %u\n", GetLastError() ); in test_write_watch()
1800 ok( GetLastError() == ERROR_NOACCESS, "wrong error %u\n", GetLastError() ); in test_write_watch()
2936 ok(GetLastError() == ERROR_NOACCESS, "expected ERROR_NOACCESS, got %d\n", GetLastError()); in test_VirtualProtect()
H A Dfile.c3188 ok(!ret && (GetLastError() == ERROR_NOACCESS || /* Win2k */ in test_read_write()
3237 ok( GetLastError() == ERROR_NOACCESS || in test_read_write()
3247 ok( GetLastError() == ERROR_NOACCESS || in test_read_write()
3257 ok( GetLastError() == ERROR_NOACCESS || in test_read_write()
3268 ok( GetLastError() == ERROR_NOACCESS || in test_read_write()
3279 ok( GetLastError() == ERROR_NOACCESS || in test_read_write()
4049 {FileIdBothDirectoryInfo, NULL, sizeof(buffer), ERROR_NOACCESS}, in test_GetFileInformationByHandleEx()
/reactos/modules/rostests/winetests/ntdll/
H A Derror.c125 cmp(STATUS_DATATYPE_MISALIGNMENT, ERROR_NOACCESS); in run_error_tests()
126 cmp(STATUS_ACCESS_VIOLATION, ERROR_NOACCESS); in run_error_tests()
127 cmp2(STATUS_DATATYPE_MISALIGNMENT_ERROR, ERROR_NOACCESS); in run_error_tests()
/reactos/modules/rostests/winetests/user32/
H A Dinput.c1505 ok(GetLastError() == ERROR_NOACCESS || GetLastError() == MYERROR, in test_GetMouseMovePointsEx()
1511 ok(ERROR_NOACCESS == GetLastError(), in test_GetMouseMovePointsEx()
1517 ok(ERROR_NOACCESS == GetLastError(), in test_GetMouseMovePointsEx()
1607 ok(err == ERROR_NOACCESS, "expected 998, got %d\n", err); in test_GetRawInputDeviceList()
1947 ok(GetLastError() == ERROR_NOACCESS, "got %d\n", GetLastError()); in test_keyboard_layout_name()
2123 …ok(GetLastError() == 0xdeadbeef || GetLastError() == ERROR_NOACCESS, "error %u\n", GetLastError()); in test_Input_mouse()
H A Dclipboard.c1940 ok( GetLastError() == ERROR_NOACCESS, "wrong error %u\n", GetLastError() ); in test_GetUpdatedClipboardFormats()
2016 ok( GetLastError() == ERROR_NOACCESS, "wrong error %u\n", GetLastError() ); in test_GetUpdatedClipboardFormats()
2022 ok( GetLastError() == ERROR_NOACCESS, "wrong error %u\n", GetLastError() ); in test_GetUpdatedClipboardFormats()
/reactos/win32ss/user/user32/windows/
H A Dclass.c285 SetLastError(ERROR_NOACCESS); in GetClassInfoExA()
398 SetLastError( ERROR_NOACCESS ); in GetClassInfoExW()
/reactos/win32ss/user/ntuser/
H A Dntstubs.c302 EngSetLastError(ERROR_NOACCESS); in NtUserSetSysColors()
H A Dmouse.c564 EngSetLastError(ERROR_NOACCESS); in NtUserGetMouseMovePointsEx()
/reactos/dll/win32/rpcrt4/
H A Drpcrt4_main.c751 case ERROR_NOACCESS: return STATUS_ACCESS_VIOLATION; in I_RpcMapWin32Status()
/reactos/modules/rostests/winetests/advapi32/
H A Dregistry.c438 …ok(ret == ERROR_NOACCESS, "RegSetValueExW should have failed with ERROR_NOACCESS: %d, GLE=%d\n", r… in test_set_value()
440 …ok(ret == ERROR_NOACCESS, "RegSetValueExW should have failed with ERROR_NOACCESS: %d, GLE=%d\n", r… in test_set_value()
445 …ok(ret == ERROR_NOACCESS, "RegSetValueExW should have failed with ERROR_NOACCESS: %d, GLE=%d\n", r… in test_set_value()
451 …ok(ret == ERROR_NOACCESS, "RegSetValueExW should have failed with ERROR_NOACCESS: %d, GLE=%d\n", r… in test_set_value()
486 ok(ret == ERROR_NOACCESS, "got %d\n", ret); in test_set_value()
489 ok(ret == ERROR_NOACCESS, "got %d\n", ret); in test_set_value()
H A Dsecurity.c711 ok( !ret && GetLastError() == ERROR_NOACCESS, in test_allocateLuid()
1337 ok(!ret && err == ERROR_NOACCESS, "AccessCheck should have failed " in test_AccessCheck()
1348 ok(!ret && err == ERROR_NOACCESS, "AccessCheck should have failed " in test_AccessCheck()
1359 ok(!ret && err == ERROR_NOACCESS, "AccessCheck should have failed " in test_AccessCheck()
1381 ok(!ret && err == ERROR_NOACCESS, "AccessCheck should have failed " in test_AccessCheck()
1487 ok(!ret && err == ERROR_NOACCESS, "AccessCheck should have " in test_AccessCheck()
1512 ok(!ret && err == ERROR_NOACCESS, "AccessCheck should have " in test_AccessCheck()
1525 ok(!ret && err == ERROR_NOACCESS, "AccessCheck should have " in test_AccessCheck()
1538 ok(!ret && err == ERROR_NOACCESS, "AccessCheck should have " in test_AccessCheck()
1628 ok(!ret && err == ERROR_NOACCESS, "AccessCheck should have " in test_AccessCheck()
[all …]

12