Directory Services

DsFreeDomainControllerInfo

The DsFreeDomainControllerInfo function frees memory allocated by DsGetDomainControllerInfo for a DS_DOMAIN_CONTROLLER_INFO structure.

VOID DsFreeDomainControllerInfo(
  DWORD InfoLevel,
  DWORD cInfo,
  VOID* pInfo
);

Parameters

InfoLevel
[in] Indicates what version of the DS_DOMAIN_CONTROLLER_INFO structure should be freed. Currently, only version 1 is supported.
cInfo
[in] Indicates the number of items in pInfo.
pInfo
[in] Pointer to an array of DS_DOMAIN_CONTROLLER_INFO structures to be freed.

Return Values

None.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000/XP.
Header: Declared in Ntdsapi.h.
Library: Use Ntdsapi.lib.

See Also

Domain Controller and Replication Management Functions, DS_DOMAIN_CONTROLLER_INFO_1, DsGetDomainControllerInfo