Share via


DeleteSecurityContext (Windows CE 5.0)

Send Feedback

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

SECURITY_STATUS SEC_ENTRY DeleteSecurityContext( PCtxtHandle phContext );

Parameters

  • phContext
    [in] Pointer to a CtxtHandle structure identifying the handle to the context to delete. For information on CtxtHandle, see SSPI Handles.

Return Values

Returns SEC_E_OK to indicate success. Upon failure, the function returns SEC_E_INVALID_HANDLE to indicate that the handle passed to the function is invalid.

Remarks

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

Requirements

Smartphone: Smartphone 2002 and later.
OS Versions: Windows CE 2.10 and later.
Header: Security.h, Sspi.h.
Link Library: Secur32.lib.

See Also

InitializeSecurityContext

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.