summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-07-30 21:21:21 +0000
committermidipix <writeonce@midipix.org>2017-07-31 08:43:35 -0400
commit30d28dce7f884ffc2312a8b26f30759ae5f09aff (patch)
tree76fe681605a6744e6492ba293ada751833ae927e /include
parenta1e25ad89de33c3ad253ab239d1d92a6ebb096e7 (diff)
downloadntapi-30d28dce7f884ffc2312a8b26f30759ae5f09aff.tar.bz2
ntapi-30d28dce7f884ffc2312a8b26f30759ae5f09aff.tar.xz
subsystem interfaces: integrated ipc connection handlers.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_ipc.h20
-rw-r--r--include/ntapi/ntapi.h4
2 files changed, 24 insertions, 0 deletions
diff --git a/include/ntapi/nt_ipc.h b/include/ntapi/nt_ipc.h
index 80fc34c..1dae3b3 100644
--- a/include/ntapi/nt_ipc.h
+++ b/include/ntapi/nt_ipc.h
@@ -32,4 +32,24 @@ typedef int32_t __stdcall ntapi_ipc_create_pipe(
__out void ** hpipe_write,
__in uint32_t advisory_buffer_size __optional);
+
+typedef int32_t __stdcall ntapi_ipc_connect_by_attr(
+ __out void ** hport,
+ __in nt_port_attr * attr);
+
+
+typedef int32_t __stdcall ntapi_ipc_connect_by_name(
+ __out void ** hport,
+ __in nt_port_name * name);
+
+
+typedef int32_t __stdcall ntapi_ipc_connect_by_symlink(
+ __out void ** hport,
+ __in void * hsymlink);
+
+
+typedef int32_t __stdcall ntapi_ipc_connect_by_port(
+ __in void * hconn,
+ __in nt_port_attr * attr);
+
#endif
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h
index c2ff0e5..b3071c1 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -388,6 +388,10 @@ typedef struct _ntapi_vtbl {
ntapi_tt_open_physical_parent_directory * tt_open_physical_parent_directory;
/* nt_ipc.h */
+ ntapi_ipc_connect_by_attr * ipc_connect_by_attr;
+ ntapi_ipc_connect_by_name * ipc_connect_by_name;
+ ntapi_ipc_connect_by_symlink * ipc_connect_by_symlink;
+ ntapi_ipc_connect_by_port * ipc_connect_by_port;
ntapi_ipc_create_pipe * ipc_create_pipe;
/* nt_ldr.h */