diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_socket.h | 9 | ||||
-rw-r--r-- | include/ntapi/ntapi.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/ntapi/nt_socket.h b/include/ntapi/nt_socket.h index c6f47b9..1f8dd14 100644 --- a/include/ntapi/nt_socket.h +++ b/include/ntapi/nt_socket.h @@ -509,6 +509,15 @@ typedef int32_t __cdecl ntapi_sc_server_duplicate_socket( __out nt_io_status_block * iosb __optional); +typedef int32_t __cdecl ntapi_sc_setsockopt( + __in nt_socket * hssocket, + __in int32_t level, + __in int32_t optname, + __in const void * optval, + __in uint32_t optlen, + __out nt_io_status_block * iosb __optional); + + typedef int32_t __cdecl ntapi_sc_wait(nt_socket * hssocket, nt_iosb * iosb, nt_timeout * timeout); #endif diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index 17d9871..904a563 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -547,6 +547,7 @@ typedef struct _ntapi_vtbl { ntapi_sc_getpeername * sc_getpeername; ntapi_sc_server_accept_connection * sc_server_accept_connection; ntapi_sc_server_duplicate_socket * sc_server_duplicate_socket; + ntapi_sc_setsockopt * sc_setsockopt; ntapi_sc_wait * sc_wait; /* nt_mount.h */ |