SP_DRVINSTALL_PARAMS

typedef struct _SP_DRVINSTALL_PARAMS {

    DWORD cbSize;

    DWORD Rank;

    DWORD Flags;

    DWORD PrivateData;

    DWORD Reserved;

} SP_DRVINSTALL_PARAMS, *PSP_DRVINSTALL_PARAMS;

 

SP_DRVINSTALL_PARAMS defines driver install parameters associated with a particular driver information element.

Members

cbSize

Contains the size, in bytes, of the SP_DRVINSTALL_PARAMS structure.

Rank

Specifies the rank match of this driver. Ranges from 0 to n, where 0 is the most compatible.

Flags

Specifies flags that control functions operating on this driver. Can be a combination of the following:

DNF_DUPDESC

There are other providers supplying drivers that have the same description as this driver.

DNF_OLDDRIVER

This driver presently/previously controlled the associated device.

DNF_EXCLUDEFROMLIST

Do not display this driver in any driver select dialogs.

DNF_NODRIVER

Set if no physical driver is to be installed for this logical driver.

DNF_LEGACYINF

This driver node comes from a legacy INF file. This flag is valid for Windows NT only.

See Also

SetupDiGetDriverInstallParams, SetupDiSetDriverInstallParams