| typedef NTSTATUS *PNTSTATUS; |
| /* NT lowlevel Strings (handled by Rtl* functions in NTDLL) |
| * If they are zero terminated, Length does not include the terminating 0. |
| } STRING,*PSTRING,ANSI_STRING,*PANSI_STRING; |
| typedef struct _CSTRING { |
| typedef struct _UNICODE_STRING { |
| USHORT Length; /* bytes */ |
| USHORT MaximumLength; /* bytes */ |
| } UNICODE_STRING,*PUNICODE_STRING; |
| #define OBJ_INHERIT 0x00000002L |
| #define OBJ_PERMANENT 0x00000010L |
| #define OBJ_EXCLUSIVE 0x00000020L |
| #define OBJ_CASE_INSENSITIVE 0x00000040L |
| #define OBJ_OPENIF 0x00000080L |
| #define OBJ_OPENLINK 0x00000100L |
| #define OBJ_KERNEL_HANDLE 0x00000200L |
| #define OBJ_VALID_ATTRIBUTES 0x000003F2L |
| typedef struct _OBJECT_ATTRIBUTES |
| PUNICODE_STRING ObjectName; |
| PVOID SecurityDescriptor; /* type SECURITY_DESCRIPTOR */ |
| PVOID SecurityQualityOfService; /* type SECURITY_QUALITY_OF_SERVICE */ |
| typedef OBJECT_ATTRIBUTES *POBJECT_ATTRIBUTES; |