Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The CredFreefunction frees the buffer that is allocated by the credential manager by using CredRead. This function replaces CeCredFree.

Syntax

DWORD CredFree(
  PBYTE 
pbBuffer
);

Parameters

pvBuffer

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

Return Value

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

Requirements

Header cred.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also