Undocumented functions of NTDLL

2OOO, 17 October


Gridstore - NonStop Storage

NtQuerySecurityObject
NtQuerySecurityObject

NTSYSAPI 
NTSTATUS
NTAPI

NtQuerySecurityObject(

IN HANDLE ObjectHandle, IN SECURITY_INFORMATION SecurityInformationClass, OUT PSECURITY_DESCRIPTOR DescriptorBuffer, IN ULONG DescriptorBufferLength, OUT PULONG RequiredLength );




Function NtQuerySecurityObject retrieve object's Security Descriptor.





  • ObjectHandle
  •     HANDLE to any object opened with READ_CONTROL access.
  • SecurityInformationClass
  •     Can be combination of:
  • DescriptorBuffer
  •     Result of call - pointer to SECURITY_DESCRIPTOR structure.
  • DescriptorBufferLength
  •     Size of buffer, in bytes.
  • RequiredLength
  •     Pointer to value receiving required length of buffer.


    Documented by:
    Tomasz Nowak



    Requirements:
    Library: ntdll.lib


    See also:
    NtSetSecurityObject
    SECURITY_DESCRIPTOR