From 20ee45c9cab81301f529a642e0470b9edc0e385a Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 22 Mar 2016 20:24:54 -0400 Subject: socket interfaces: sc_shutdown(): remove non-native code path and constants. --- include/ntapi/nt_socket.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/ntapi/nt_socket.h') diff --git a/include/ntapi/nt_socket.h b/include/ntapi/nt_socket.h index 35d6e34..bcb1722 100644 --- a/include/ntapi/nt_socket.h +++ b/include/ntapi/nt_socket.h @@ -192,11 +192,6 @@ #define NT_AFD_DISCONNECT_WR (0x01u) #define NT_AFD_DISCONNECT_RD (0x02u) -/* socket portable shutdown options */ -#define NT_SHUT_RD (0x00u) -#define NT_SHUT_WR (0x01u) -#define NT_SHUT_RDWR (0x02u) - /* send, sendto, sendmsg: *nix flags and bit place-holders */ #define NT_MSG_OOB (0x00000001u) #define NT_MSG_PEEK (0x00000002u) @@ -403,8 +398,7 @@ typedef int32_t __cdecl ntapi_sc_recv( typedef int32_t __cdecl ntapi_sc_shutdown( __in nt_socket * hssocket, - __in uintptr_t psxhow, - __in uintptr_t afdhow, + __in uint32_t afdhow, __out nt_io_status_block * iosb __optional); -- cgit v1.2.3