DsQuerySitesFree function (ntdsapi.h)

The DsQuerySitesFree function frees the memory allocated by the DsQuerySitesByCost function.

Syntax

void DsQuerySitesFree(
  [in] PDS_SITE_COST_INFO rgSiteInfo
);

Parameters

[in] rgSiteInfo

Pointer to an array of DS_SITE_COST_INFO structures allocated by a call to DsQuerySitesByCost.

Return value

None

Requirements

Requirement Value
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_SITE_COST_INFO

Domain Controller and Replication Management Functions

DsQuerySitesByCost