2.2.2.27 WDCONFIG

The WinStation (session) driver configuration.<98>

 typedef struct _WDCONFIG {
   WDNAME WdName;
   DLLNAME WdDLL;
   DLLNAME WsxDLL;
   ULONG WdFlag;
   ULONG WdInputBufferLength;
   DLLNAME CfgDLL;
   WDPREFIX WdPrefix;
 } WDCONFIG,
  *PWDCONFIG;

WdName: The descriptive name of the WinStation driver.

WdDLL: The driver's image name.

WsxDLL: Used by the Terminal Services service to communicate with the WinStation driver.<99>

WdFlag: Driver flags. It MUST be any bitwise OR combination of the following values.

Value

Meaning

WDF_UNUSED

0x00000001

Not used.

WDF_SHADOW_SOURCE

0x00000002

Valid shadow source.

WDF_SHADOW_TARGET

0x00000004

Valid shadow target.

WDF_OTHER

0x00000008

Other protocol.

WDF_TSHARE

0x00000010

Remote Protocol used by Terminal Services.

WDF_DYNAMIC_RECONNECT

0x00000020

 Session can resize display at reconnect.<100>

WDF_USER_VCIOCTL

0x00000040

User mode applications can send virtual channel IOCTL.

WDF_SUBDESKTOP

0x00008000

Sub-desktop session.<101>

WdInputBufferLength: Length, in bytes, of the input buffer used by the driver. Defaults to 2048.

CfgDLL: Configuration DLL used by Terminal Services administrative tools for configuring the driver.<102>

WdPrefix: Used as the prefix of the WinStation name generated for the connected sessions with this WinStation driver.<103>