diff options
author | midipix <writeonce@midipix.org> | 2022-11-18 17:29:49 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2022-11-18 19:02:48 +0000 |
commit | 1717a8ab178466bb73fd4c0a7fba1402df9deef0 (patch) | |
tree | 288489dba2c18b8751b04ec8f079a9edc85619c1 /include | |
parent | 3b05e82a2c5d529cb383a5c06b509883dc59d628 (diff) | |
download | ntapi-1717a8ab178466bb73fd4c0a7fba1402df9deef0.tar.bz2 ntapi-1717a8ab178466bb73fd4c0a7fba1402df9deef0.tar.xz |
ipc helper interfaces: allow requesting an existing connection.
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_ipc.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/include/ntapi/nt_ipc.h b/include/ntapi/nt_ipc.h index 9eab304..51a76bc 100644 --- a/include/ntapi/nt_ipc.h +++ b/include/ntapi/nt_ipc.h @@ -60,17 +60,20 @@ typedef int32_t __stdcall ntapi_ipc_create_pipe( typedef int32_t __stdcall ntapi_ipc_connect_by_attr( __out void ** hport, - __in nt_port_attr * attr); + __in nt_port_attr * attr, + __in int fexisting); typedef int32_t __stdcall ntapi_ipc_connect_by_name( __out void ** hport, - __in nt_port_name * name); + __in nt_port_name * name, + __in int fexisting); typedef int32_t __stdcall ntapi_ipc_connect_by_symlink( __out void ** hport, - __in void * hsymlink); + __in void * hsymlink, + __in int fexisting); typedef int32_t __stdcall ntapi_ipc_connect_by_port( @@ -83,7 +86,8 @@ typedef int32_t __stdcall ntapi_ipc_connect_section_by_attr( __in nt_port_attr * attr, __out void ** hsection, __out void ** section_addr, - __out size_t * section_size); + __out size_t * section_size, + __in int fexisting); typedef int32_t __stdcall ntapi_ipc_connect_section_by_name( @@ -91,7 +95,8 @@ typedef int32_t __stdcall ntapi_ipc_connect_section_by_name( __in nt_port_name * name, __out void ** hsection, __out void ** section_addr, - __out size_t * section_size); + __out size_t * section_size, + __in int fexisting); typedef int32_t __stdcall ntapi_ipc_connect_section_by_symlink( @@ -99,7 +104,8 @@ typedef int32_t __stdcall ntapi_ipc_connect_section_by_symlink( __in void * hsymlink, __out void ** hsection, __out void ** section_addr, - __out size_t * section_size); + __out size_t * section_size, + __in int fexisting); typedef int32_t __stdcall ntapi_ipc_connect_section_by_port( |