Platform SDK: Active Directory, ADSI, and Directory Services

DSOBJECT

The DSOBJECT structure contains flags for the object, and offsets to the ADSI path and objectClass strings. The offsets are from the DSOBJECTNAMES structure and each points to a NULL terminated UNICODE string.

typedef struct DSOBJECT
{
  DWORD  dwFlags;
  DWORD  dwProviderFlags;
  DWORD  offsetName;
  DWORD  offsetClass;
} DSOBJECT, *LPDSOBJECT;

Members

dwFlags
Object item flags, can be a combination of the following:
dwFlags Description
DSOBJECT_ISCONTAINER The object is a container, as read from the schema.
DSOBJECT_READONLYPAGES When displaying properties on this object, the user interface is read only.

dwProviderFlags
Object specific flag, can be set as DSPROVIDER_ADVANCED to show the properties for this object in the advanced mode.
offsetName
Offset from the start of the DSOBJECTNAMES structure to a null-terminated UNICODE ADSI path for the object.
offsetClass
offset from the start of the DSOBJECTNAMES structure to a null-terminated UNICODE objectClass string .

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Dsclient.h.

See Also

Active Directory Display Structures, DSObject