Jump to content

DRIVERINFO

From EDM2
Revision as of 02:17, 14 June 2018 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Contains the device information for the detected device.

Type

USHORT     Priority;
USHORT     DriverType;
UCHAR      DriverName[12];
UCHAR      DriverParmLine[1];

C Declaration Method

typedef struct

Fields

Priority
Set to 0 - reserved.
DriverType
Sets the driver type to one of the following values:
DriverName[12]
Identifies specified device driver.
DriverParmLine[1]
Embedded ASCIIZ string.

Example Code

typedef struct _DRIVERINFO {
  USHORT     Priority;           /* Set to 0 - reserved. */
  USHORT     DriverType;         /* Sets the driver type to one of the following values: */
  UCHAR      DriverName[12];     /* Identifies specified device driver. */
  UCHAR      DriverParmLine[1];  /* Embedded ASCIIZ string. */
} DRIVERINFO;

FAR * PDRIVERINFO , NEAR * NPDRIVERINFO