From 498a44092ac4d00fdbf4c3a431889fba891ca7c7 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 21 Mar 2018 20:30:54 +0000 Subject: nt_port.h: added macro definitions for port access bits. --- include/ntapi/nt_port.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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}} -- cgit v1.2.3