Share via


FreeCredentialsHandle

This function notifies the security system that credentials are no longer required. An application calls this function to free the credential handle acquired in the call to the AcquireCredentialsHandle function. When all references to this credential set have been removed, the credentials themselves can be removed.

SECURITY_STATUS FreeCredentialsHandle( 
PCredHandle phCredential );

Parameters

  • phCredential
    Pointer to the credential handle obtained by using the AcquireCredentialsHandle function

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 FreeCredentialsHandle function enables the security system to free resources associated with the credential handle.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.12 and later Sspi.h Security.h Schannel.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

AcquireCredentialsHandle

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.