Directory Services

DsGetDcClose

The DsGetDcClose function closes a domain controller enumeration operation.

void WINAPI DsGetDcClose(
  HANDLE GetDcContextHandle
);

Parameters

GetDcContextHandle
[in] Contains the domain controller enumeration context handle provided by the DsGetDcOpen function.

Return Values

This function has no return values.

Remarks

When this funciton is called, GetDcContextHandle is no longer valid and must not be used.

Requirements

Client: Included in Windows XP.
Server: Included in Windows Server 2003.
Header: Declared in Dsgetdc.h.
Library: Use Netapi32.lib.

See Also

DsGetDcOpen, Enumerating Domain Controllers, Directory Service Functions