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.
DRIVDATA (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
typedef struct _DRIVDATA {    /* driv */
    LONG cb;
    LONG lVersion;
    CHAR szDeviceName[32];
    CHAR abGeneralData[1];
} DRIVDATA;
 
The DRIVDATA structure contains information about a device driver returned
by the DevPostDeviceModes function.
 
Field             Description
────────────────────────────────────────────────────────────────────────────
 
cb                Specifies the length of the structure (in bytes).
 
lVersion          Specifies the version number of the data. Version numbers
                  are defined by particular MS OS/2 device drivers.
 
szDeviceName[32]  Specifies a 32-byte character string that identifies the
                  particular device (for example, model number). Valid
                  values are defined by MS OS/2 device drivers.
 
abGeneralData[1]  Specifies an array of bytes containing general data as
                  defined by the MS OS/2 device driver. The number of bytes
                  is defined by the particular device driver. This array
                  should not contain pointers, because these are not
                  necessarily valid when passed to the device driver.
 
See Also
 
DevPostDeviceModes