summaryrefslogtreecommitdiffhomepage
path: root/src/port
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-03 23:45:14 -0400
committermidipix <writeonce@midipix.org>2016-07-03 23:50:35 -0400
commit41d4170bd4c53e49b413569c7ef332d9919c1409 (patch)
tree90a36bfff55620b90832c9b21b7b4fb80e074c43 /src/port
parentad613201792f3c4bae2591a3ec3892ade112cea0 (diff)
downloadntapi-41d4170bd4c53e49b413569c7ef332d9919c1409.tar.bz2
ntapi-41d4170bd4c53e49b413569c7ef332d9919c1409.tar.xz
native ipc: added definitions for 'symlnk' and 'ntproc'.
Diffstat (limited to 'src/port')
-rw-r--r--src/port/ntapi_port_name_helper.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/port/ntapi_port_name_helper.c b/src/port/ntapi_port_name_helper.c
index 84ffdcc..7ab4d41 100644
--- a/src/port/ntapi_port_name_helper.c
+++ b/src/port/ntapi_port_name_helper.c
@@ -13,17 +13,21 @@
typedef wchar16_t __port_service_prefix[6];
static const __port_service_prefix __port_service_null = {0};
-static const __port_service_prefix __port_service_prefixes[4][NT_PORT_TYPE_CAP][NT_PORT_SUBTYPE_CAP] = {
+static const __port_service_prefix __port_service_prefixes[6][NT_PORT_TYPE_CAP][NT_PORT_SUBTYPE_CAP] = {
{{{'s','v','c','a','n','y'}}},
{{{'n','t','c','t','t','y'}}},
{{{'v','m','o','u','n','t'}}},
- {{{'d','a','e','m','o','n'}}}};
+ {{{'d','a','e','m','o','n'}}},
+ {{{'s','y','m','l','n','k'}}},
+ {{{'n','t','p','r','o','c'}}}};
static const nt_guid __port_guids[NT_PORT_TYPE_CAP][NT_PORT_SUBTYPE_CAP] = {
{NT_PORT_GUID_DEFAULT},
{NT_PORT_GUID_SUBSYSTEM},
{NT_PORT_GUID_VMOUNT},
- {NT_PORT_GUID_DAEMON}};
+ {NT_PORT_GUID_DAEMON},
+ {NT_PORT_GUID_SYMLNK},
+ {NT_PORT_GUID_NTPROC}};
int32_t __stdcall __ntapi_tt_port_guid_from_type(
__out nt_guid * guid,