msos2.hlp (Table of Contents; Topic list)
VIOSETTARGET (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_VIO
 
typedef struct _VIOSETTARGET {    /* viosett */
    USHORT  cb;
    USHORT  type;
    USHORT  defaultalgorithm;
} VIOSETTARGET;
 
The VIOSETTARGET structure identifies the target display of the next call to
the VioSetMode function.
 
Field             Description
────────────────────────────────────────────────────────────────────────────
 
cb                Specifies the size of the structure (in bytes). Programs
                  written in the C language should use the sizeof operator
                  to set this field.
 
type              Specifies the request type. To retrieve the target
                  information, this field must be set to 0x0006.
 
defaultalgorithm  Specifies the target display of the next call to the
                  VioSetMode function. A value of 0x0000 specifies the
                  default display (the active display when the computer was
                  powered on), 0x0001 specifies the primary display, and
                  0x0002 specifies the secondary display.
 
See Also
 
VioGetState, VioSetMode, VioSetState