msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
PTRDRAWDATA (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSDEVIOCTL
 
typedef struct _PTRDRAWDATA {    /* ptrdd */
    USHORT cb;
    USHORT usConfig;
    USHORT usFlag;
} PTRDRAWDATA;
 
The PTRDRAWDATA structure contains data for drawing the pointer.
 
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.
 
usConfig  Specifies the display configuration. It can be one of the
          following values:
 
          Value                 Meaning
          ──────────────────────────────────────────────────────────────────
          VIO_CONFIG_CURRENT    The current display adapter
 
          VIO_CONFIG_PRIMARY    The primary display adapter
 
          VIO_CONFIG_SECONDARY  The secondary display adapter
 
usFlag    Specifies a flag that determines if this configuration is for an
          application or the base video subsystem (BVS). A value of 0x0000
          specifies an application; 0x0001 specifies the BVS.
 
See Also
 
MOU_SETPROTDRAWADDRESS