Platform SDK: Access Control |
The GetSecurityDescriptorRMControl function retrieves the resource manager control bits.
DWORD GetSecurityDescriptorRMControl( PSECURITY DESCRIPTOR SecurityDescriptor, PUCHAR RMControl );
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the following value is returned.
Error value | Description |
---|---|
ERROR_INVALID_DATA | The SE_RM_CONTROL_VALID bit flag is not set in the specified SECURITY_DESCRIPTOR structure. |
The resource manager control bits are eight bits in the Sbz1 member of the SECURITY_DESCRIPTOR structure that contains information specific to the resource manager accessing the structure. These bits should be accessed only through the GetSecurityDescriptorRMControl and SetSecurityDescriptorRMControl functions.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Winbase.h; include Windows.h.
Library: Use Advapi32.lib.
Access Control Overview, Access Control Functions, SECURITY_DESCRIPTOR, SetSecurityDescriptorRMControl