IDsBrowseDomainTree::FreeDomains method (dsclient.h)

The IDsBrowseDomainTree::FreeDomains method frees the memory allocated by the IDsBrowseDomainTree::GetDomains method.

Syntax

HRESULT FreeDomains(
  [in] PDOMAIN_TREE *ppDomainTree
);

Parameters

[in] ppDomainTree

Pointer to the DOMAINTREE data structure.

Return value

Returns a standard HRESULT value including the following.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header dsclient.h
DLL Dsadmin.dll

See also

IDsBrowseDomainTree

IDsBrowseDomainTree::GetDomains