Platform SDK: Active Directory, ADSI, and 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

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Ntdsapi.h.
  Library: Included as a resource in Ntdsapi.dll.
  Unicode: Implemented as Unicode and ANSI versions on Windows 2000.

See Also

DC and Replication Management Functions, DS_DOMAIN_CONTROLLER_INFO_1, DsGetDomainControllerInfo