Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SpFreeCredentialsHandle function

Frees credentials acquired by calling the SpAcquireCredentialsHandle function.

Syntax


NTSTATUS SpFreeCredentialsHandle(
  _In_  LSA_SEC_HANDLE CredentialHandle
);

Parameters

CredentialHandle [in]

A handle to the credentials to free.

Return value

If the function succeeds, return STATUS_SUCCESS.

If the function fails, return an NTSTATUS code that indicates the reason it failed. The following lists a common reason for failure and the error code that the function should return.

Return codeDescription
SEC_E_INVALID_HANDLE

The handle is not valid.

 

Remarks

SSP/APs must implement the SpFreeCredentialsHandle function; however, the actual name given to the implementation is up to the developer.

A pointer to the SpFreeCredentialsHandle function is available in the SECPKG_FUNCTION_TABLE structure received from the SpLsaModeInitialize function.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

See also

SECPKG_FUNCTION_TABLE
SpAcquireCredentialsHandle
SpLsaModeInitialize

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.