The DOMAINDESC structure contains data about an element
in a domain tree obtained with the IDsBrowseDomainTree::GetDomains
method. This structure is contained in the DOMAINTREE structure.
Pointer to a Unicode string that contains the domain name.
pszPath
Pointer to a Unicode string that contains the path of the
domain. This member is not currently used.
pszNCName
Pointer to a Unicode string that contains the fully-qualified
name of the domain in the form "DC=myDom, DC=Fabrikam, DC=com".
This member is blank if the DBDTF_RETURNFQDN flag is not set in the
dwFlags parameter in
IDsBrowseDomainTree::GetDomains.
pszTrustParent
Pointer to a Unicode string that contains the name of the
parent domain. This member is NULL if the domain has no
parent.
pszObjectClass
Pointer to a Unicode string that contains the object class name
of the domain.
ulFlags
Contains a set of flags that specify the attributes of the
trust. For more information, and a list of possible values, see the
Flags parameter of DsEnumerateDomainTrusts.
fDownLevel
Contains a non-zero value if the domain is a down-level domain
or zero otherwise.
pdChildList
Contains a pointer to a DOMAINDESC structure that
represents the first child of the domain. Obtain subsequent
children by accessing the pdNextSibling member of the child
structure. This member is NULL if the domain has no children.
pdNextSibling
Contains a pointer to a DOMAINDESC structure that
represents the next sibling of the domain. Obtain subsequent
siblings by accessing the pdNextSibling member of the
sibling structure. This member is NULL if the domain has no
siblings.
Remarks
For more information about how to access and use the information
in this structure, see Domain
Browser.
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.