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.
PFNDAVAUTHCALLBACK_FREECRED PfndavauthcallbackFreecred;
DWORD PfndavauthcallbackFreecred(
[in] PVOID pbuffer
)
{...}
[in] pbuffer
A pointer to the DAV_CALLBACK_AUTH_UNP or DAV_CALLBACK_AUTH_BLOB structure that was used in the DavAuthCallback callback function.
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the return value is a system error code.
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.
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 |