93 ok(
ret == 0,
"connect returned %d\n",
ret);
98 ok(
ret == 0,
"send returned %d\n",
ret);
157 ok(
ret == 0,
"sendto returned %d\n",
ret);
176 ok(
ret == 0,
"WSAStartup failed with %d\n",
ret);
#define NT_SUCCESS(StatCode)
INT WSAAPI sendto(IN SOCKET s, IN CONST CHAR FAR *buf, IN INT len, IN INT flags, IN CONST struct sockaddr *to, IN INT tolen)
INT WSAAPI send(IN SOCKET s, IN CONST CHAR FAR *buf, IN INT len, IN INT flags)
INT WINAPI WSAStartup(IN WORD wVersionRequested, OUT LPWSADATA lpWSAData)
GLenum const GLvoid * addr
static VOID test_sendto(void)
static PVOID AllocateReadOnly(_In_ SIZE_T SizeRequested)
static VOID FreeReadOnly(_In_ PVOID VirtualMemory)
static VOID test_send(void)
#define NtCurrentProcess()
NTSTATUS NTAPI NtFreeVirtualMemory(IN HANDLE ProcessHandle, IN PVOID *UBaseAddress, IN PSIZE_T URegionSize, IN ULONG FreeType)
NTSTATUS NTAPI NtAllocateVirtualMemory(IN HANDLE ProcessHandle, IN OUT PVOID *UBaseAddress, IN ULONG_PTR ZeroBits, IN OUT PSIZE_T URegionSize, IN ULONG AllocationType, IN ULONG Protect)
SOCKET WSAAPI socket(IN INT af, IN INT type, IN INT protocol)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
int PASCAL FAR WSAGetLastError(void)
int PASCAL FAR WSACleanup(void)