BOOLEAN
SetupDiChangeState(
IN HDEVINFO DeviceInfoSet,
IN PSP_DEVINFO_DATA DeviceInfoData
);
SetupDiChangeState is the default handler for the DIF_PROPERTYCHANGE class installation request. It can be used to change the state of an installed device.
If the function is successful, and there are files to copy, it returns TRUE. However, if there no files to copy, it returns FALSE and a call to GetLastError returns ERROR_DI_NOFILECOPY.
If the function fails, it returns FALSE and a call to GetLastError returns a different ERROR_* code.