From 9c3b7ea9b0875423514011a3002d4d8aba888c77 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 17 Dec 2016 19:36:36 -0500 Subject: ntapi_sc_sockete(): update to a more caller-friendly signature. --- include/ntapi/nt_socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/ntapi/nt_socket.h b/include/ntapi/nt_socket.h index 977dd17..6491786 100644 --- a/include/ntapi/nt_socket.h +++ b/include/ntapi/nt_socket.h @@ -434,8 +434,8 @@ typedef struct _nt_afd_disconnect_info { /* socket functions */ typedef int32_t __cdecl ntapi_sc_socket( __out nt_socket * hssocket, - __in uint16_t domain, - __in uint16_t type, + __in int32_t domain, + __in int32_t type, __in uint32_t protocol, __in uint32_t desired_access __optional, __in nt_sqos * sqos __optional, -- cgit v1.2.3