AbortDeviceConfigurationChange
The host calls this method to tell the driver not to perform a configuration change.
Declaration
virtual kern_return_t AbortDeviceConfigurationChange(uint64_t change_action, OSObject *in_change_info);Parameters
- change_action:
The action the device object wants to take. This is the same value that was passed to
RequestDeviceConfigurationChange(). Note that this value is purely for the driver’s usage. The host doesn’t look at this value. - in_change_info:
A pointer to an
OSObjectabout the configuration change. This is the same value that was passed toRequestDeviceConfigurationChange(). Note that this value is purely for the driver’s usage. The host doesn’t look at this value. Object reference should be retained/released as necessary.
Discussion
The configuration change is one that had been requested via a call to the Host method, RequestDeviceConfigurationChange().
Subclass and override this method to handle any aborted custom configuration change requests, then call the superclass implementation to update state.