DOMAIN_TREE structure (dsclient.h)

The DOMAINTREE structure contains data about a node in a domain tree obtained with the IDsBrowseDomainTree::GetDomains method. Each of the domains in the tree node are represented by a DOMAINDESC structure.

Syntax

typedef struct {
  DWORD      dsSize;
  DWORD      dwCount;
  DOMAINDESC aDomains[1];
} DOMAIN_TREE, DOMAINTREE, *PDOMAIN_TREE, *LPDOMAINTREE;

Members

dsSize

Contains the size, in bytes, of the DOMAINTREE structure and all DOMAINDESC structures in this DOMAINTREE structure.

dwCount

Contains the number of DOMAINDESC structures in the aDomains array.

aDomains[1]

Contains an array of DOMAINDESC structures that represent the domains. The array does not contain any child or sibling relational data. The relational data is contained within the DOMAINDESC structures.

Remarks

For more information about how to access and use the data in this structure, see Domain Browser.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header dsclient.h

See also

DOMAINDESC

Domain Browser

IDsBrowseDomainTree::FreeDomains

IDsBrowseDomainTree::GetDomains