CredFreeCredentialsFn callback function (ntsecpkg.h)
Frees memory used to store credentials used by a security package.
Syntax
CredFreeCredentialsFn Credfreecredentialsfn;
void Credfreecredentialsfn(
[in] ULONG Count,
[in, out] PENCRYPTED_CREDENTIALW *Credentials
)
{...}
Parameters
[in] Count
The number of elements in the Credentials array.
[in, out] Credentials
A pointer to a pointer that, on input, points to an array of ENCRYPTED_CREDENTIALW structures to be freed.
Return value
If the function succeeds, the return value is STATUS_SUCCESS.
If the function fails, the return value is an NTSTATUS code that indicates the reason it failed.
Remarks
A pointer to the CrediFreeCredentials function is available in the LSA_SECPKG_FUNCTION_TABLE structure received by the SpInitialize function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | ntsecpkg.h |