DRIVERINFO: Difference between revisions
Appearance
Created page with "Contains the device information for the detected device. == Type == USHORT Priority; USHORT DriverType; UCHAR DriverName[12]; UCHAR DriverParmL..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
Contains the device information for the detected device. | Contains the device information for the detected device. | ||
== Type == | == Type == | ||
USHORT Priority; | |||
USHORT DriverType; | |||
UCHAR DriverName[12]; | |||
UCHAR DriverParmLine[1]; | |||
== C Declaration Method == | == C Declaration Method == | ||
typedef struct | typedef struct | ||
== Fields == | == Fields == | ||
; Priority : Set to 0 - reserved. | ;Priority : Set to 0 - reserved. | ||
; DriverType : Sets the driver type to one of the following values: | ;DriverType : Sets the driver type to one of the following values: | ||
; DriverName[12] : Identifies specified device driver. | ;DriverName[12] : Identifies specified device driver. | ||
; DriverParmLine[1] : Embedded ASCIIZ string. | ;DriverParmLine[1] : Embedded ASCIIZ string. | ||
== Example Code == | == Example Code == | ||
<PRE> | <PRE> | ||
typedef struct _DRIVERINFO { | typedef struct _DRIVERINFO { | ||
USHORT Priority; /* | USHORT Priority; /* Set to 0 - reserved. */ | ||
USHORT DriverType; /* | USHORT DriverType; /* Sets the driver type to one of the following values: */ | ||
UCHAR DriverName[12]; /* | UCHAR DriverName[12]; /* Identifies specified device driver. */ | ||
UCHAR DriverParmLine[1]; /* | UCHAR DriverParmLine[1]; /* Embedded ASCIIZ string. */ | ||
} DRIVERINFO; | } DRIVERINFO; | ||
Latest revision as of 02:17, 14 June 2018
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