DavRegisterAuthCallback function

Registers an application-defined callback function that the WebDAV client can use to prompt the user for credentials.

Syntax


OPAQUE_HANDLE DavRegisterAuthCallback(
  _In_ PFNDAVAUTHCALLBACK CallBack,
  _In_ ULONG              Version
);

Parameters

CallBack [in]

A pointer to a function of type PFNDAVAUTHCALLBACK.

Version [in]

This parameter is reserved for future use.

Return value

If the function succeeds, the return value is an opaque handle. Note that OPAQUE_HANDLE is defined to be a DWORD value.

Remarks

The WebDAV client uses the callback function when it is unable to connect to a remote resource using default credentials.

To unregister the callback function, use the DavUnregisterAuthCallback function, passing the returned opaque handle in the hCallback parameter.

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

Library

Davclnt.lib

DLL

Davclnt.dll

See also

DavUnregisterAuthCallback

 

 

Community Additions

ADD
Show: