diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_socket.h | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/include/ntapi/nt_socket.h b/include/ntapi/nt_socket.h index 4c32132..b3a1f69 100644 --- a/include/ntapi/nt_socket.h +++ b/include/ntapi/nt_socket.h @@ -446,7 +446,7 @@ typedef int32_t __cdecl ntapi_sc_socket( __in uint32_t protocol, __in uint32_t desired_access __optional, __in nt_sqos * sqos __optional, - __out nt_io_status_block * iosb __optional); + __out nt_iosb * iosb __optional); typedef int32_t __cdecl ntapi_sc_bind( @@ -456,14 +456,14 @@ typedef int32_t __cdecl ntapi_sc_bind( __in uint32_t afdflags __optional, __in uint32_t srvflags __optional, __out nt_sockaddr * sockaddr __optional, - __out nt_io_status_block * iosb __optional); + __out nt_iosb volatile * iosb __optional); typedef int32_t __cdecl ntapi_sc_listen( __in nt_socket * hssocket, __in uint32_t backlog, __in uint32_t afdflags __optional, - __out nt_io_status_block * iosb __optional); + __out nt_iosb volatile * iosb __optional); typedef int32_t __cdecl ntapi_sc_accept( @@ -473,7 +473,7 @@ typedef int32_t __cdecl ntapi_sc_accept( __out nt_socket * hssock_dedicated, __in uintptr_t afdflags __optional, __in uintptr_t tdiflags __optional, - __out nt_io_status_block * iosb __optional); + __out nt_iosb volatile * iosb __optional); typedef int32_t __cdecl ntapi_sc_connect( @@ -481,7 +481,7 @@ typedef int32_t __cdecl ntapi_sc_connect( __in nt_sockaddr * addr, __in uintptr_t addrlen, __in uintptr_t service_flags __optional, - __out nt_io_status_block * iosb __optional); + __out nt_iosb volatile * iosb __optional); typedef int32_t __cdecl ntapi_sc_send( @@ -493,7 +493,7 @@ typedef int32_t __cdecl ntapi_sc_send( __in size_t addrlen __optional, __in uintptr_t afdflags __optional, __in uintptr_t tdiflags __optional, - __out nt_io_status_block * iosb __optional); + __out nt_iosb volatile * iosb __optional); typedef int32_t __cdecl ntapi_sc_recv( @@ -504,38 +504,38 @@ typedef int32_t __cdecl ntapi_sc_recv( __in nt_sockaddr_reply * raddr __optional, __in uintptr_t afdflags __optional, __in uintptr_t tdiflags __optional, - __out nt_io_status_block * iosb __optional); + __out nt_iosb volatile * iosb __optional); typedef int32_t __cdecl ntapi_sc_shutdown( __in nt_socket * hssocket, __in uint32_t afdhow, - __out nt_io_status_block * iosb __optional); + __out nt_iosb volatile * iosb __optional); typedef int32_t __cdecl ntapi_sc_getsockname( __in nt_socket * hssocket, __in nt_sockaddr * addr, __in uint16_t * addrlen, - __out nt_io_status_block * iosb __optional); + __out nt_iosb volatile * iosb __optional); typedef int32_t __cdecl ntapi_sc_getpeername( __in nt_socket * hssocket, __in nt_sockaddr * addr, __in uint16_t * addrlen, - __out nt_io_status_block * iosb __optional); + __out nt_iosb volatile * iosb __optional); typedef int32_t __cdecl ntapi_sc_server_accept_connection( __in nt_socket * hssocket, __out nt_afd_accept_info * accept_info, - __out nt_io_status_block * iosb __optional); + __out nt_iosb volatile * iosb __optional); typedef int32_t __cdecl ntapi_sc_server_duplicate_socket( __in nt_socket * hssock_listen, __in nt_socket * hssock_dedicated, __in nt_afd_accept_info * accept_info, - __out nt_io_status_block * iosb __optional); + __out nt_iosb volatile * iosb __optional); typedef int32_t __cdecl ntapi_sc_setsockopt( @@ -544,7 +544,7 @@ typedef int32_t __cdecl ntapi_sc_setsockopt( __in int32_t optname, __in const void * optval, __in uint32_t optlen, - __out nt_io_status_block * iosb __optional); + __out nt_iosb volatile * iosb __optional); typedef int32_t __cdecl ntapi_sc_getsockopt( @@ -553,9 +553,12 @@ typedef int32_t __cdecl ntapi_sc_getsockopt( __in int32_t optname, __out void * optval, __in uint32_t optlen, - __out nt_io_status_block * iosb); + __out nt_iosb volatile * iosb); -typedef int32_t __cdecl ntapi_sc_wait(nt_socket * hssocket, nt_iosb * iosb, nt_timeout * timeout); +typedef int32_t __cdecl ntapi_sc_wait( + __in nt_socket * hssocket, + __out nt_iosb volatile * iosb, + __in nt_timeout * timeout); #endif |