We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OBJECT_ATTRIBUTES
The metadata has this:
public struct OBJECT_ATTRIBUTES { public uint Length; public HANDLE RootDirectory; [Const] public unsafe UNICODE_STRING* ObjectName; public uint Attributes; [Const] public unsafe void* SecurityDescriptor; [Const] public unsafe void* SecurityQualityOfService; }
But the header has this definition:
typedef struct _OBJECT_ATTRIBUTES { ULONG Length; HANDLE RootDirectory; PUNICODE_STRING ObjectName; ULONG Attributes; PVOID SecurityDescriptor; // Points to type SECURITY_DESCRIPTOR PVOID SecurityQualityOfService; // Points to type SECURITY_QUALITY_OF_SERVICE } OBJECT_ATTRIBUTES; typedef OBJECT_ATTRIBUTES *POBJECT_ATTRIBUTES; typedef CONST OBJECT_ATTRIBUTES *PCOBJECT_ATTRIBUTES;
Admittedly the types are only lurking in the comments, but it would be useful if we can actually use the correct types as they do exist in metadata.
The text was updated successfully, but these errors were encountered:
mikebattista
No branches or pull requests
The metadata has this:
But the header has this definition:
Admittedly the types are only lurking in the comments, but it would be useful if we can actually use the correct types as they do exist in metadata.
The text was updated successfully, but these errors were encountered: