WSK_RELEASE_SD

A WSK application uses the WSK_RELEASE_SD client control operation to release a cached copy of a security descriptor that either was previously obtained by using the WSK_CACHE_SD client control operation or was retrieved by using the SO_WSK_SECURITY socket option.

To release a cached copy of a security descriptor, a WSK application calls the WskControlClient function with the following parameters.

Parameter Value

ControlCode

WSK_RELEASE_SD

InputSize

sizeof(PSECURITY_DESCRIPTOR)

InputBuffer

A pointer to a PSECURITY_DESCRIPTOR-typed variable. This variable contains a pointer to the SECURITY_DESCRIPTOR structure that defines the cached security descriptor that is being released.

OutputSize

0

OutputBuffer

NULL

OutputSizeReturned

NULL

Irp

NULL

See the reference page for the SECURITY_DESCRIPTOR structure for more information.

The Irp parameter must be NULL for this client control operation.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Wsk.h (include Wsk.h)