Windows Dev Center

DavFreeCredCallback callback function

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


DWORD DavFreeCredCallback(
  _In_ PVOID pbuffer
);

Parameters

pbuffer [in]

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

Minimum supported client

Windows Vista with SP2 [desktop apps only]

Minimum supported server

Windows Server 2008 with SP2 [desktop apps only]

Header

Davclnt.h

See also

DavAuthCallback
DAV_CALLBACK_CRED

 

 

Community Additions

ADD
Show:
© 2015 Microsoft