diff --git "a/modules/rostests/winetests/ws2_32/sock.c" "b/modules/rostests/winetests/ws2_32/sock.c" index 48e08eee6f1..e62941e06d9 100644 --- "a/modules/rostests/winetests/ws2_32/sock.c" +++ "b/modules/rostests/winetests/ws2_32/sock.c" @@ -7010,6 +7010,15 @@ static void test_write_watch(void) base = VirtualAlloc( 0, size, MEM_RESERVE | MEM_COMMIT | MEM_WRITE_WATCH, PAGE_READWRITE ); ok( base != NULL, "VirtualAlloc failed %u\n", GetLastError() ); +#ifdef __REACTOS__ /* ROSTESTS-385 */ + if (!base) + { + /* MEM_WRITE_WATCH is not supported yet in ReactOS */ + win_skip( "VirtualAlloc not supported\n" ); + return; + } +#endif + memset( base, 0, size ); count = 64; ret = pGetWriteWatch( WRITE_WATCH_FLAG_RESET, base, size, results, &count, &pagesize ); @@ -8012,6 +8021,7 @@ static void test_getaddrinfo(void) } } +#ifndef __REACTOS__ /* ROSTESTS-385 */ static void test_ConnectEx(void) { SOCKET listener = INVALID_SOCKET; @@ -8826,6 +8836,7 @@ static void test_DisconnectEx(void) closesocket(connector); closesocket(listener); } +#endif // ifndef __REACTOS__ /* ROSTESTS-385 */ #define compare_file(h,s,o) compare_file2(h,s,o,__FILE__,__LINE__) @@ -11620,9 +11631,13 @@ START_TEST( sock ) test_GetAddrInfoW(); test_GetAddrInfoExW(); test_getaddrinfo(); + +#ifndef __REACTOS__ /* ROSTESTS-385 */ + /* UNIMPLEMENTED in ReactOS See dll/win32/msafd/misc/stubs.c */ test_AcceptEx(); test_ConnectEx(); test_DisconnectEx(); +#endif test_sioRoutingInterfaceQuery(); test_sioAddressListChange();