Skip to content

Latest commit

 

History

History
61 lines (52 loc) · 2.63 KB

nn-wudfddi-irequestcallbackcancel.md

File metadata and controls

61 lines (52 loc) · 2.63 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NN:wudfddi.IRequestCallbackCancel
IRequestCallbackCancel (wudfddi.h)
A driver is notified when an I/O request that the driver is currently processing is to be canceled.
wdf\irequestcallbackcancel.htm
wdf
02/26/2018
IRequestCallbackCancel interface
IRequestCallbackCancel, IRequestCallbackCancel interface, IRequestCallbackCancel interface,described, UMDFRequestObjectRef_6f54b76d-812d-437c-8c02-7d9e3e177b90.xml, umdf.irequestcallbackcancel, wdf.irequestcallbackcancel, wudfddi/IRequestCallbackCancel
wudfddi.h
Windows
Windows
IRequestCallbackCancel
wudfddi/IRequestCallbackCancel
APIRef
kbSyntax
COM
wudfddi.h
IRequestCallbackCancel

IRequestCallbackCancel interface

-description

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

A driver is notified when an I/O request that the driver is currently processing is to be canceled. The driver is notified when an application calls the Microsoft Win32 CancelIo, CancelIoEx, or CancelSynchronousIo function. The driver can handle the notification by registering the IRequestCallbackCancel interface.

-inheritance

The IRequestCallbackCancel interface inherits from the IUnknown interface. IRequestCallbackCancel also has these types of members:

  • Methods

-remarks

A driver registers the IRequestCallbackCancel interface when it calls the IWDFIoRequest::MarkCancelable method to enable the canceling of an I/O request. For more information about how to cancel I/O requests, see Canceling I/O Requests.