DsFreeDomainControllerInfo function

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

Syntax


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

Parameters

InfoLevel [in]

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

ValueMeaning
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 [in]

Indicates the number of items in pInfo.

pInfo [in]

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 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

Active Directory Client Extension on Windows NT 4.0 and Windows Me/98/95

Header

Ntdsapi.h

Library

Ntdsapi.lib

DLL

Ntdsapi.dll

Unicode and ANSI names

DsFreeDomainControllerInfoW (Unicode) and DsFreeDomainControllerInfoA (ANSI)

See also

DS_DOMAIN_CONTROLLER_INFO_1
DsGetDomainControllerInfo
Domain Controller and Replication Management Functions

 

 

Show:
© 2014 Microsoft