CrediFreeCredentials function

Frees memory used to store credentials used by a security package.

Syntax


NTSTATUS NTAPI CrediFreeCredentials(
  _In_    ULONG                  Count,
  _Inout_ PENCRYPTED_CREDENTIALW *Credentials
);

Parameters

Count [in]

The number of elements in the Credentials array.

Credentials [in, out]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

See also

SpInitialize

 

 

Show: