DavDeleteConnection function (davclnt.h)

Closes a connection that was created by using the DavAddConnection function.

Syntax

DWORD DavDeleteConnection(
  [in] HANDLE ConnectionHandle
);

Parameters

[in] ConnectionHandle

A handle to an open connection that was created by using the DavAddConnection 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.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header davclnt.h
Library Netapi32.lib
DLL Netapi32.dll

See also

CertCloseStore