UFX_PROPRIETARY_CHARGER_ABORT_OPERATION callback function (ufxproprietarycharger.h)
The filter driver's implementation to abort a charger operation.
UFX_PROPRIETARY_CHARGER_ABORT_OPERATION UfxProprietaryChargerAbortOperation;
NTSTATUS UfxProprietaryChargerAbortOperation(
[in] PVOID Context
)
{...}
[in] Context
A pointer to a driver-defined context.
If the operation is successful, the callback function must return STATUS_SUCCESS, or another status value for which NT_SUCCESS(status) equals TRUE. Otherwise it must return a status value for which NT_SUCCESS(status) equals FALSE.
To support handling of proprietary chargers, the USB lower filter driver must publish support. During the publishing process, the driver also registers its implementation of this callback function. For more information, see USB filter driver for supporting proprietary chargers.
Requirement | Value |
---|---|
Target Platform | Windows |
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | ufxproprietarycharger.h |
IRQL | <=DISPATCH_LEVEL |