SetupDiGetDriverInstallParams
BOOLEAN
SetupDiGetDriverInstallParams(
IN HDEVINFO DeviceInfoSet,
IN PSP_DEVINFO_DATA DeviceInfoData, /* optional */
IN PSP_DRVINFO_DATA DriverInfoData,
OUT PSP_DRVINSTALL_PARAMS DriverInstallParams
);
SetupDiGetDriverInstallParams retrieves install parameters for the
specified driver.
Parameters
-
DeviceInfoSet
-
Supplies a handle to the device information set containing a driver
information structure for which to retrieve installation parameters.
-
DeviceInfoData
-
Supplies a pointer to an SP_DEVINFO_DATA structure that contains a driver
information structure for which to retrieve installation parameters. If DeviceInfoData
is not specified, the driver referenced is a member of the global class driver
list owned by the device information set.
-
DriverInfoData
-
Supplies a pointer to an SP_DRVINFO_DATA structure that specifies the driver
for which install parameters are to be retrieved.
-
DriverInstallParams
-
Supplies a pointer to an SP_DRVINSTALL_PARAMS structure to receive the install
parameters for this driver. The cbSize field of this structure must be
set to the size, in bytes, of the structure before calling this function.
Return Value
The function returns TRUE if it is successful. Otherwise it returns FALSE and
the logged error can be retrieved by a call to GetLastError.
See Also
SetupDiSetDriverInstallParams