summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_port.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ntapi/nt_port.h b/include/ntapi/nt_port.h
index ca98967..3e4b293 100644
--- a/include/ntapi/nt_port.h
+++ b/include/ntapi/nt_port.h
@@ -50,6 +50,12 @@ typedef enum _nt_port_subtype {
} nt_port_subtype;
+/* port access bits */
+#define NT_PORT_CONNECT 0x00000001
+#define NT_STANDARD_RIGHTS_REQUIRED 0x000F0000
+#define NT_PORT_ALL_ACCESS NT_PORT_CONNECT | NT_SEC_STANDARD_RIGHTS_ALL
+
+
/* friendly port guids */
#define NT_PORT_GUID_DEFAULT {0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}
#define NT_PORT_GUID_SUBSYSTEM {0xce7f8d40,0x81cd,0x41c6,{0xa4,0xb7,0xb8,0x35,0x67,0xdf,0x15,0xd9}}