typedef struct { WORD cbSize; struct _DRIVER_INFO FAR *lpNextInfo; LPSTR lpszDescription; LPSTR lpszMfgName; LPSTR lpszProviderName; WORD Rank; DWORD dwFlags; LPARAM lpReserved; DWORD dwPrivateData; } DRIVER_INFO;
This structure contains the information necessary to present the user with a select device dialog.
cbSize
Size of this structure in bytes.
*lpNextInfo
Pointer to the next DRIVER_INFO struct in a linked list.
lpszDescription
Pointer to the description of the device being supported by this driver.
lpszMfgName
Pointer to the name of the manufacture of this driver.
lpszProviderName
Pointer to provider of this driver if the lpdi->Flags has the DI_MULTMFGS flag set.
Rank
The Rank match of this driver. Ranks go from 0 to n, where 0 is the most compatible.
dwFlags
Flags that control the use of this driver node. These are the same as the flags defined for a DRIVER_NODE.
DNF_DUPDESC | This driver has the same device description from by more than one provider. |
DNF_OLDDRIVER | Driver node specifies old/current driver |
DNF_EXCLUDEFROMLIST | If set, this driver node will not be displayed in any driver select dialogs. |
DNF_NODRIVER | Set if we want to install no driver, e.g. no mouse.drv |
DNF_CONVERTEDLPINFO | Set if this Driver Node was converted from an Info Node. Setting this flag will cause the cleanup functions to explicitly delete it. |
lpReserved
Reserved for use by the Device Installer.
dwPrivateData
Reserved for use by the Device Installer.