typedef struct _SP_PROPCHANGE_PARAMS {
SP_CLASSINSTALL_HEADER ClassInstallHeader;
DWORD StateChange;
DWORD Scope;
DWORD HwProfile;
} SP_PROPCHANGE_PARAMS, *PSP_PROPCHANGE_PARAMS;
The SP_PROPCHANGE_PARAMS structure corresponds to a DIF_PROPERTYCHANGE installation request.
Members
ClassInstallHeader
Defines the class installation request for the install parameter structure.
StateChange
State change action. Can be one of the following values:
DICS_ENABLE
The device is being enabled.
DICS_DISABLE
The device is being disabled.
DICS_PROPCHANGE
The properties of the device have changed.
DICS_START
The device is being started. If the device is currently disabled, it will be enabled also.
DICS_START
The device is being stopped.
Scope
Flags that specify the scope of a device property change. Can be one of the following:
DICS_FLAG_GLOBAL
Make the change in all hardware profiles.
DICS_FLAG_CONFIGSPECIFIC
Make the change in the specified profile.
DICS_FLAG_CONFIGGENERAL
One or more hardware profile-specific changes follow.
HwProfile
Supplies the hardware profile ID for profile-specific changes.
See Also