Export (0) Print
Expand All

FreeCredentialsHandle (Windows Embedded CE 6.0)

1/6/2010

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 SEC_ENTRY FreeCredentialsHandle( 
  PCredHandle phCredential 
);

phCredential

[in] Pointer to a CredHandle structure representing the handle to the credentials. This handle is obtained by using the AcquireCredentialsHandle function. For information on CredHandle, see SSPI Handles.

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

This function enables the security system to free resources associated with the credential handle.

Headersecurity.h, sspi.h
Librarysecur32.lib
Windows Embedded CEWindows CE 2.12 and later

Community Additions

ADD
Show:
© 2015 Microsoft