Directory Services |
The DSOBJECT structure contains directory object data. An array of this structure is provided in the aObjects member of the DSOBJECTNAMES structure.
typedef struct {
DWORD dwFlags;
DWORD dwProviderFlags;
DWORD offsetName;
DWORD offsetClass; } DSOBJECT,
*LPDSOBJECT;
Value | Meaning |
---|---|
DSOBJECT_ISCONTAINER | The object is a container. |
DSOBJECT_READONLYPAGES | When displaying properties for this object, the user interface must be read-only. |
Value | Meaning |
---|---|
DSPROVIDER_ADVANCED | The user interface for this object should be shown in an advanced mode. |
DSPROVIDER_UNUSED_0 | Not used. |
DSPROVIDER_UNUSED_1 | Not used. |
DSPROVIDER_UNUSED_2 | Not used. |
DSPROVIDER_UNUSED_3 | Not used. |
The following example demonstrates how to use this member.
pwszName = (LPWSTR)((LPBYTE)pdsObjNames + pdsObjNames->aObjects[i].offsetName);
The following code example shows how to use this member.
pwszClass = (LPWSTR)((LPBYTE)pdsObjNames + pdsObjNames->aObjects[i].offsetClass);
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Header: Declared in Dsclient.h.