Platform SDK: Active Directory, ADSI, and Directory Services

IDsBrowseDomainTree::FreeDomains

The IDsBrowseDomainTree::FreeDomains method frees the memory allocated for the DomainTree data structure as returned from IDsBrowseDomainTree::GetDomains.

HRESULT FreeDomains(
  PDOMAINTREE *ppDomainTree
);

Parameters

*ppDomainTree
[in] Pointer to the DOMAINTREE data structure.

Return Values

This method returns an HRESULT value.

Remarks

The DOMAINTREE structure returned by IDsBrowseDomainTree::GetDomains should be released by this (IDsBrowseDomainTree:FreeDomains) method.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Dsclient.h.
  Library: Included as a resource in Dsuiext.dll.

See Also

Active Directory Display Interfaces, DOMAINDESC, DOMAINTREE, IDsBrowseDomainTree, IDsBrowseDomainTree::GetDomains