SP_DRVINFO_DATA

typedef struct _SP_DRVINFO_DATA {

    DWORD cbSize;

    DWORD DriverType;

    DWORD Reserved;

    TCHAR Description[LINE_LEN];

    TCHAR MfgName[LINE_LEN];

    TCHAR ProviderName[LINE_LEN];

} SP_DRVINFOR_DATA, *PSP_DRVINFO_DATA;

 

SP_DRVINFO_DATA defines a driver information structure. This is a member of a driver information list that can be associated with a particular device instance or globally with a device information set.

Members

cbSize

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

DriverType

Specifies what type of driver is represented by this structure. Must be one of the following values:

SPDIT_CLASSDRIVER

This structure represents a class driver.

SPDIT_COMPATDRIVER

This structure represents a compatible driver.

Description

A NULL-terminated string that describes the device supported by this driver.

MfgName

A NULL-terminated string that contains the name of the manufacturer of the device supported by this driver.

ProviderName

A NULL-terminated string giving the provider of this driver. This is typically the name of the organization that creates the driver or INF file. ProviderName can be an empty string.

See Also

SetupDiEnumDriverInfo, SetupDiGetDriverInstallParams, SetupDiGetSelectedDriver, SetupDiSetDriverInstallParams, SetupDiSetSelectedDriver