Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Informs UFX that the client driver has completed processing a UFX callback function.
Syntax
void UfxDeviceEventComplete(
[in] UFXDEVICE UfxDevice,
[in] NTSTATUS Status
);
Parameters
[in] UfxDevice
A handle to a UFX device object that the driver created by calling UfxDeviceCreate.
[in] Status
Status of the event being completed.
Return value
None
Remarks
The client driver calls UfxDeviceEventComplete to signal completion of the following callback functions:
- EVT_UFX_DEVICE_HOST_CONNECT
- EVT_UFX_DEVICE_HOST_DISCONNECT
- EVT_UFX_DEVICE_PROPRIETARY_CHARGER_SET_PROPERTY
- EVT_UFX_DEVICE_PROPRIETARY_CHARGER_RESET
- EVT_UFX_DEVICE_ADDRESSED
- EVT_UFX_DEVICE_DEFAULT_ENDPOINT_ADD
- EVT_UFX_DEVICE_USB_STATE_CHANGE
- EVT_UFX_DEVICE_PORT_CHANGE
- EVT_UFX_DEVICE_REMOTE_WAKEUP_SIGNAL
- EVT_UFX_DEVICE_TEST_MODE_SET
- EVT_UFX_DEVICE_SUPER_SPEED_POWER_FEATURE
- EVT_UFX_DEVICE_CONTROLLER_RESET
EventComplete = TRUE;
...
if (EventComplete) {
UfxDeviceEventComplete(UfxDevice, STATUS_SUCCESS);
}
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Target Platform | Windows |
Header | ufxclient.h |
Library | ufxstub.lib |
IRQL | DISPATCH_LEVEL |