summaryrefslogtreecommitdiffhomepage
path: root/include/ntapi/nt_socket.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-17 19:36:36 -0500
committermidipix <writeonce@midipix.org>2016-12-18 09:38:11 -0500
commit9c3b7ea9b0875423514011a3002d4d8aba888c77 (patch)
treee6356e202d44ee64f9874eaaee8be06fd7b30b7e /include/ntapi/nt_socket.h
parent6c8592e87b3cc45d060b432a00ec0ea162938049 (diff)
downloadntapi-9c3b7ea9b0875423514011a3002d4d8aba888c77.tar.bz2
ntapi-9c3b7ea9b0875423514011a3002d4d8aba888c77.tar.xz
ntapi_sc_sockete(): update to a more caller-friendly signature.
Diffstat (limited to 'include/ntapi/nt_socket.h')
-rw-r--r--include/ntapi/nt_socket.h4
1 files changed, 2 insertions, 2 deletions
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,