Bewerken

Delen via


SeDeleteClientSecurity function (ntifs.h)

The SeDeleteClientSecurity routine deletes a client security context.

Syntax

void SeDeleteClientSecurity(
  PSECURITY_CLIENT_CONTEXT ClientContext
);

Parameters

ClientContext

Pointer to the client security context structure to be deleted.

Return value

None

Remarks

SeDeleteClientSecurity deletes a client security context structure and performs any necessary cleanup, such as removing any client token references.

Each call to SeCreateClientSecurity or SeCreateClientSecurityFromSubjectContext must be matched by a subsequent call to SeDeleteClientSecurity.

For more information about security and access control, see Windows security model for driver developers and the documentation on these topics in the Windows SDK.

Requirements

Requirement Value
Target Platform Desktop
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL

See also

SeCreateClientSecurity

SeCreateClientSecurityFromSubjectContext