## Pen for OS/2 Device Driver Reference

[prev][next][parent][TOC]

### Category 90h, Function 60h - Remarks

Values for pqusd.capabilities:

    #define QUSD_RESERVD 0x0000FFFF       /* Reserved for architected use        */

    #define QUSD_OEM     0xFFFF0000       /* Reserved for OEM use                */

The following are defined for all device types:

    #define QUSD_LENGTH   0x00000001      /* First word of unit data is length.  */

    #define QUSD_STANDARD 0x00000002      /* Starts with standard

                                             device-specific layout.             */

The following are locator specific:

    #define QUSD_X_INVERT 0x00000004      /* X raw coordinate is inverted.       */

    #define QUSD_Y_INVERT 0x00000008      /* Y raw coordinate is inverted.       */

Values for pqusd.rc:

    #define QUSD_OK     0       /* All data was copied.                */

    #define QUSD_TRUNC  1       /* Data was truncated.                 */

    #define QUSD_NA     2       /* Data is not available; none copied. */

    typedef struct _SLUSD {

       ULONG   length;           /* Length of entire data area             */

       ULONG   XoriginDefault;   /* Default x origin coordinate adjustment */

       ULONG   Xorigin;          /* x-coordinate origin adjustment         */

       ULONG   XmeasuredExtent;  /* Measured x extent                      */

       ULONG   YoriginDefault;   /* Default y origin coordinate adjustment */

       ULONG   Yorigin;          /* y-coordinate origin adjustment         */

       ULONG   YmeasuredExtent;  /* Measured y extent                      */

    } SLUSD;