wdfio.h header

This header is used by wdf. For more information, see:

wdfio.h contains the following programming interfaces:

Functions

 
WDF_IO_QUEUE_CONFIG_INIT

The WDF_IO_QUEUE_CONFIG_INIT function initializes a driver's WDF_IO_QUEUE_CONFIG structure.
WDF_IO_QUEUE_CONFIG_INIT_DEFAULT_QUEUE

The WDF_IO_QUEUE_CONFIG_INIT_DEFAULT_QUEUE function initializes a driver's WDF_IO_QUEUE_CONFIG structure.
WDF_IO_QUEUE_DRAINED

The WDF_IO_QUEUE_DRAINED function returns TRUE if the I/O queue's state indicates that the queue is drained.
WDF_IO_QUEUE_FORWARD_PROGRESS_POLICY_DEFAULT_INIT

The WDF_IO_QUEUE_FORWARD_PROGRESS_POLICY_DEFAULT_INIT function initializes a driver's WDF_IO_QUEUE_FORWARD_PROGRESS_POLICY structure.
WDF_IO_QUEUE_FORWARD_PROGRESS_POLICY_EXAMINE_INIT

The WDF_IO_QUEUE_FORWARD_PROGRESS_POLICY_EXAMINE_INIT function initializes a driver's WDF_IO_QUEUE_FORWARD_PROGRESS_POLICY structure.
WDF_IO_QUEUE_FORWARD_PROGRESS_POLICY_PAGINGIO_INIT

The WDF_IO_QUEUE_FORWARD_PROGRESS_POLICY_PAGINGIO_INIT function initializes a driver's WDF_IO_QUEUE_FORWARD_PROGRESS_POLICY structure.
WDF_IO_QUEUE_IDLE

The WDF_IO_QUEUE_IDLE function returns TRUE if an I/O queue's state indicates that the queue is drained.
WDF_IO_QUEUE_PURGED

The WDF_IO_QUEUE_PURGED function returns TRUE if an I/O queue's state indicates that the queue is drained.
WDF_IO_QUEUE_READY

The WDF_IO_QUEUE_READY function returns TRUE if an I/O queue's state indicates that the queue is drained.
WDF_IO_QUEUE_STOPPED

The WDF_IO_QUEUE_STOPPED function returns TRUE if an I/O queue's state indicates that the queue is stopped.
WdfIoQueueAssignForwardProgressPolicy

The WdfIoQueueAssignForwardProgressPolicy method enables the framework's ability to guarantee forward progress for a specified I/O queue.
WdfIoQueueCreate

The WdfIoQueueCreate method creates and configures an I/O queue for a specified device.
WdfIoQueueDrain

The WdfIoQueueDrain method causes the framework to stop queuing I/O requests to an I/O queue, while allowing already-queued requests to be delivered and processed.
WdfIoQueueDrainSynchronously

The WdfIoQueueDrainSynchronously method causes the framework to stop queuing I/O requests to an I/O queue, while allowing already-queued requests to be delivered and processed. The method returns after all requests are completed or canceled.
WdfIoQueueFindRequest

The WdfIoQueueFindRequest method locates the next request in an I/O queue, or the next request that matches specified criteria, but does not grant ownership of the request to the driver.
WdfIoQueueGetDevice

The WdfIoQueueGetDevice method returns a handle to the framework device object that a specified I/O queue belongs to.
WdfIoQueueGetState

The WdfIoQueueGetState method returns the status of a specified I/O queue.
WdfIoQueuePurge

The WdfIoQueuePurge method causes the framework to stop queuing I/O requests to an I/O queue and to cancel unprocessed requests.
WdfIoQueuePurgeSynchronously

The WdfIoQueuePurgeSynchronously method causes the framework to stop queuing I/O requests to an I/O queue and to cancel unprocessed requests and driver-owned cancellable requests.
WdfIoQueueReadyNotify

The WdfIoQueueReadyNotify method registers (or deregisters) an event callback function that the framework calls each time a specified I/O queue that was previously empty receives one or more I/O requests.
WdfIoQueueRetrieveFoundRequest

The WdfIoQueueRetrieveFoundRequest method delivers a specified request to the driver, so that the driver can process the request.
WdfIoQueueRetrieveNextRequest

The WdfIoQueueRetrieveNextRequest method retrieves the next available I/O request from a specified I/O queue.
WdfIoQueueRetrieveRequestByFileObject

The WdfIoQueueRetrieveRequestByFileObject method retrieves the next available I/O request, from a specified I/O queue, that is associated with a specified file object.
WdfIoQueueStart

The WdfIoQueueStart method enables an I/O queue to start receiving and delivering new I/O requests.
WdfIoQueueStop

The WdfIoQueueStop method prevents an I/O queue from delivering I/O requests, but the queue receives and stores new requests.
WdfIoQueueStopAndPurge

The WdfIoQueueStopAndPurge method prevents an I/O queue from delivering new requests and cancels existing unprocessed requests and driver-owned cancellable requests, but the queue receives and stores new requests.
WdfIoQueueStopAndPurgeSynchronously

The WdfIoQueueStopAndPurgeSynchronously method prevents an I/O queue from delivering new I/O requests and causes the framework to cancel existing unprocessed requests and driver-owned cancellable requests, but the queue receives and stores new requests.
WdfIoQueueStopSynchronously

The WdfIoQueueStopSynchronously method prevents an I/O queue from delivering I/O requests, but the queue receives and stores new requests. The method returns after all delivered requests have been canceled or completed.

Callback functions

 
EVT_WDF_IO_ALLOCATE_REQUEST_RESOURCES

A driver's EvtIoAllocateRequestResources callback function allocates request-specific resources that the driver requires to process the specified request.
EVT_WDF_IO_ALLOCATE_RESOURCES_FOR_RESERVED_REQUEST

A driver's EvtIoAllocateResourcesForReservedRequest callback function allocates request-specific resources that the driver can use to process an I/O request in the future.
EVT_WDF_IO_QUEUE_IO_CANCELED_ON_QUEUE

A driver's EvtIoCanceledOnQueue event callback function informs the driver that it must complete an I/O request that the framework has removed from an I/O queue.
EVT_WDF_IO_QUEUE_IO_DEFAULT

A driver's EvtIoDefault event callback function processes a specified I/O request.
EVT_WDF_IO_QUEUE_IO_DEVICE_CONTROL

A driver's EvtIoDeviceControl event callback function processes a specified device I/O control request.
EVT_WDF_IO_QUEUE_IO_INTERNAL_DEVICE_CONTROL

A driver's EvtIoInternalDeviceControl event callback function processes an I/O request that contains an internal device I/O control code (IOCTL).
EVT_WDF_IO_QUEUE_IO_READ

A driver's EvtIoRead event callback function processes a specified read request.
EVT_WDF_IO_QUEUE_IO_RESUME

A driver's EvtIoResume event callback function resumes processing a specified I/O request after the underlying device returns to its working (D0) power state.
EVT_WDF_IO_QUEUE_IO_STOP

A driver's EvtIoStop event callback function completes, requeues, or suspends processing of a specified request because the request's I/O queue is being stopped.
EVT_WDF_IO_QUEUE_IO_WRITE

A driver's EvtIoWrite event callback function processes a specified write request.
EVT_WDF_IO_QUEUE_STATE

A driver's EvtIoQueueState event callback function delivers queue state information to the driver.
EVT_WDF_IO_WDM_IRP_FOR_FORWARD_PROGRESS

A driver's EvtIoWdmIrpForForwardProgress callback function examines an I/O request packet (IRP) and determines whether to use a reserved request object to process the I/O request or to fail the I/O request.

Structures

 
WDF_IO_FORWARD_PROGRESS_RESERVED_POLICY_SETTINGS

The WDF_IO_FORWARD_PROGRESS_RESERVED_POLICY_SETTINGS structure contains information about specific actions that the framework can take when it receives an I/O request for your driver, if a low-memory situation exists.
WDF_IO_QUEUE_CONFIG

The WDF_IO_QUEUE_CONFIG structure contains configuration information for a framework queue object.
WDF_IO_QUEUE_FORWARD_PROGRESS_POLICY

The WDF_IO_QUEUE_FORWARD_PROGRESS_POLICY structure contains driver-supplied information that the framework uses to enable guaranteed forward progress for an I/O queue.

Enumerations

 
WDF_IO_FORWARD_PROGRESS_ACTION

The WDF_IO_FORWARD_PROGRESS_ACTION enumeration identifies actions that the framework can take for an I/O request packet (IRP) that your driver examines during a low-memory situation.
WDF_IO_FORWARD_PROGRESS_RESERVED_POLICY

The WDF_IO_FORWARD_PROGRESS_RESERVED_POLICY enumeration identifies actions that the framework can take when it receives an I/O request for your driver, if a low-memory situation exists.
WDF_IO_QUEUE_DISPATCH_TYPE

The WDF_IO_QUEUE_DISPATCH_TYPE enumeration type identifies the request dispatching methods that can be associated with a framework queue object.
WDF_IO_QUEUE_STATE

The WDF_IO_QUEUE_STATE enumeration type identifies the status of a framework queue object. The enumerators are used as bit masks.