DsFreeDomainControllerInfoA function

The DsFreeDomainControllerInfo function frees memory that is allocated by DsGetDomainControllerInfo for data about the domain controllers in a domain.

Syntax

NTDSAPI VOID DsFreeDomainControllerInfoA(
  DWORD InfoLevel,
  DWORD cInfo,
  VOID  *pInfo
);

Parameters

InfoLevel

Indicates what version of the DS_DOMAIN_CONTROLLER_INFO structure should be freed. This parameter can be one of the following values.

1

The function frees the structure that contains DS_DOMAIN_CONTROLLER_INFO_1 data.

2

The function frees the structure that contains DS_DOMAIN_CONTROLLER_INFO_2 data.

cInfo

Indicates the number of items in pInfo.

pInfo

Pointer to an array of DS_DOMAIN_CONTROLLER_INFO structures to be freed.

Return Value

This function does not return a value.

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header ntdsapi.h
Library Ntdsapi.lib
DLL Ntdsapi.dll

See Also

DS_DOMAIN_CONTROLLER_INFO_1

Domain Controller and Replication Management Functions

DsGetDomainControllerInfo