summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_socket.h9
-rw-r--r--include/ntapi/ntapi.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/include/ntapi/nt_socket.h b/include/ntapi/nt_socket.h
index 1f8dd14..d56f370 100644
--- a/include/ntapi/nt_socket.h
+++ b/include/ntapi/nt_socket.h
@@ -518,6 +518,15 @@ typedef int32_t __cdecl ntapi_sc_setsockopt(
__out nt_io_status_block * iosb __optional);
+typedef int32_t __cdecl ntapi_sc_getsockopt(
+ __in nt_socket * hssocket,
+ __in int32_t level,
+ __in int32_t optname,
+ __out void * optval,
+ __in uint32_t optlen,
+ __out nt_io_status_block * iosb);
+
+
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 904a563..054d66a 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -548,6 +548,7 @@ typedef struct _ntapi_vtbl {
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_getsockopt * sc_getsockopt;
ntapi_sc_wait * sc_wait;
/* nt_mount.h */