◄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 ♦