Partager via


CredFree (Compact 2013)

3/28/2014

The CredFree function frees the buffer that is allocated by the credential manager by using CredRead. This function replaces CeCredFree (deprecated).

Syntax

DWORD CredFree(
  PBYTE pbBuffer
);

Parameters

  • pbBuffer
    [in] Pointer to the buffer containing the credential to free.

Return Value

ERROR_SUCCESS is returned upon success. For a list of error codes, see Credential Manager Error Codes.

Requirements

Header

cred.h

Library

coredll.lib

See Also

Reference

Credential Manager Functions