DestroyPrivateObjectSecurity

  BOOL DestroyPrivateObjectSecurity(ObjectDescriptor)    
  PSECURITY_DESCRIPTOR *ObjectDescriptor;    

The DestroyPrivateObjectSecurity function deletes a protected server object's security descriptor.

Parameters

ObjectDescriptor

Points to a pointer to a security descriptor to be deleted.

Return Value

The return value is TRUE if the function was successful, or FALSE if an error occurred. Use the GetLastError function to obtain extended error information.

See Also

CreatePrivateObjectSecurity