DeleteSecurityContext

This function deletes local data structures associated with the specified security context.

At a Glance

Header file: Sspi.h
Windows CE versions: 2.10 and later

Syntax

SECURITY_STATUS DeleteSecurityContext( PCtxtHandle phContext );

Parameters

phContext

[in] Pointer to the context handle to delete

Return Values

SEC_E_OK indicates success. Upon failure, SEC_E_INVALID_HANDLE indicates that the handle passed to the function is invalid.

Remarks

The DeleteSecurityContext function terminates a security context. No further use of the context is accepted.