DsGetDcCloseW function (dsgetdc.h)

The DsGetDcClose function closes a domain controller enumeration operation.

Syntax

DSGETDCAPI VOID DsGetDcCloseW(
  [in] HANDLE GetDcContextHandle
);

Parameters

[in] GetDcContextHandle

Contains the domain controller enumeration context handle provided by the DsGetDcOpen function.

Return value

This function does not return a value.

Remarks

When this function is called, GetDcContextHandle is invalid and cannot be used.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header dsgetdc.h
Library Netapi32.lib
DLL Netapi32.dll

See also

Directory Service Functions

DsGetDcOpen

Enumerating Domain Controllers