diff options
author | midipix <writeonce@midipix.org> | 2018-03-21 20:30:54 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-03-21 20:24:07 -0400 |
commit | 498a44092ac4d00fdbf4c3a431889fba891ca7c7 (patch) | |
tree | 70b0d36d8f459a96e70375bc8b60335ef2a9e83a /include | |
parent | 138984ab5a1a916ee27e87c90bc8f4839787373c (diff) | |
download | ntapi-498a44092ac4d00fdbf4c3a431889fba891ca7c7.tar.bz2 ntapi-498a44092ac4d00fdbf4c3a431889fba891ca7c7.tar.xz |
nt_port.h: added macro definitions for port access bits.
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_port.h | 6 |
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}} |