Directory Services |
The DSDISPLAYSPECOPTIONS structure is returned by the CFSTR_DS_DISPLAY_SPEC_OPTIONS clipboard format used to supply data to a context menu or property page extension about the display specifiers used. It is important, to specify the credentials required by the extension, to access data in the Active Directory®.
typedef struct _DSDISPLAYSPECOPTIONS {
DWORD dwSize;
DWORD dwFlags;
DWORD offsetAttribPrefix;
DWORD offsetUserName;
DWORD offsetPassword;
DWORD offsetServer;
DWORD offsetServerConfigPath; } DSDISPLAYSPECOPTIONS,
*PDSDISPLAYSPECOPTIONS,
*LPDSDISPLAYSPECOPTIONS;
Value | Meaning |
---|---|
DSDSOF_HASUSERANDSERVERINFO 0x00000001 |
The offsetUserName, offsetPassword, offsetServer and offsetServerConfigPath members are valid. |
DSDSOF_SIMPLEAUTHENTICATE 0x00000002 |
Do not specify ADS_SECURE_AUTHENTICATION flag when calling ADsOpenObject. |
DSDSOF_DONTSIGNSEAL 0x00000004 |
Do not sign and seal when opening directory service objects. |
DSDSOF_DSAVAILABLE 0x40000000 |
Forces the client to avoid checking if the user is authenticated, the network is present or logged in, assuming the client belongs to an Active Directory domain. |
Value | Meaning |
---|---|
"admin" | The extension was obtained from the adminPropertyPages attribute. |
"shell" | The extension was obtained from the shellPropertyPages attribute. |
The following example shows how to use this member.
pwszAttribPrefix = (LPWSTR)((LPBYTE)pdos + pdso->offsetAttribPrefix);
The following example shows how to use this member.
pwszUserName = (LPWSTR)((LPBYTE)pdso + pdso->offsetUserName);
The following example shows how to use this member.
pwszPassword = (LPWSTR)((LPBYTE)pdso + pdso->offsetPassword);
The following example shows how to use this member.
pwszServer = (LPWSTR)((LPBYTE)pdso + pdso->offsetServer);
The following example shows how to use this member.
pwszServerConfigPath = (LPWSTR)((LPBYTE)pdso + pdso->offsetServerConfigPath);
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Header: Declared in Dsclient.h.
Active Directory Display Structures, ADsOpenObject, CFSTR_DS_DISPLAY_SPEC_OPTIONS