PFNDAVAUTHCALLBACK_FREECRED callback function (davclnt.h)

The WebDAV client calls the application-defined DavFreeCredCallback callback function to free the credential information that was retrieved by the DavAuthCallback callback function.

The PFNDAVAUTHCALLBACK_FREECRED type defines a pointer to this callback function. DavFreeCredCallback is a placeholder for the application-defined function name.

Syntax

PFNDAVAUTHCALLBACK_FREECRED PfndavauthcallbackFreecred;

DWORD PfndavauthcallbackFreecred(
  [in] PVOID pbuffer
)
{...}

Parameters

[in] pbuffer

A pointer to the DAV_CALLBACK_AUTH_UNP or DAV_CALLBACK_AUTH_BLOB structure that was used in the DavAuthCallback callback function.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

If the function fails, the return value is a system error code.

Remarks

The DavFreeCredCallback callback function must be registered by calling the DavRegisterAuthCallback function.

This callback function should free only the buffer that the pBuffer member of the DAV_CALLBACK_AUTH_UNP or DAV_CALLBACK_AUTH_BLOB structure points to, not the entire structure.

Requirements

Requirement Value
Minimum supported client Windows Vista with SP2 [desktop apps only]
Minimum supported server Windows Server 2008 with SP2 [desktop apps only]
Target Platform Windows
Header davclnt.h

See also

DAV_CALLBACK_CRED

DavAuthCallback