Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DestroyPrivateObjectSecurity
Collapse the table of content
Expand the table of content

DestroyPrivateObjectSecurity function

The DestroyPrivateObjectSecurity function deletes a private object's security descriptor. For background information, see the Security Descriptors for Private Objects topic.

Syntax


BOOL WINAPI DestroyPrivateObjectSecurity(
  _Inout_ PSECURITY_DESCRIPTOR *ObjectDescriptor
);

Parameters

ObjectDescriptor [in, out]

A pointer to a pointer to the SECURITY_DESCRIPTOR structure to be deleted. This security descriptor must have been created by a call to the CreatePrivateObjectSecurity function.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winbase.h (include Windows.h)

Library

Advapi32.lib

DLL

Advapi32.dll

See also

Client/Server Access Control Overview
Client/Server Access Control Functions
Security Descriptors for Private Objects
CreatePrivateObjectSecurity
GetPrivateObjectSecurity
SECURITY_DESCRIPTOR
SetPrivateObjectSecurity

 

 

Community Additions

ADD
Show:
© 2015 Microsoft