Directory Services

IDsBrowseDomainTree::FreeDomains

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

HRESULT FreeDomains( 
  PDOMAINTREE* ppDomainTree
);

Parameters

ppDomainTree
[in] Pointer to the DOMAINTREE data structure.

Return Values

Returns a standard HRESULT value including the following.
S_OK
The method was successful.
E_INVALIDARG
ppDomainTree is invalid.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Header: Declared in Dsclient.h.

See Also

IDsBrowseDomainTree::GetDomains, IDsBrowseDomainTree