Directory Services

DsQuerySitesFree

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

void DsQuerySitesFree(
  PDS_SITE_COST_INFO rgSiteInfo
);

Parameters

rgSiteInfo
[in] Pointer to an array of DS_SITE_COST_INFO structures allocated by a call to DsQuerySitesByCost.

Return Values

This function has no return values.

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

DsQuerySitesByCost, DS_SITE_COST_INFO, Domain Controller and Replication Management Functions