Bewerken

Delen via


WDF_IO_FORWARD_PROGRESS_RESERVED_POLICY enumeration (wdfio.h)

[Applies to KMDF only]

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.

Syntax

typedef enum _WDF_IO_FORWARD_PROGRESS_RESERVED_POLICY {
  WdfIoForwardProgressInvalidPolicy = 0x0,
  WdfIoForwardProgressReservedPolicyAlwaysUseReservedRequest,
  WdfIoForwardProgressReservedPolicyUseExamine,
  WdfIoForwardProgressReservedPolicyPagingIO
} WDF_IO_FORWARD_PROGRESS_RESERVED_POLICY;

Constants

 
WdfIoForwardProgressInvalidPolicy
Value: 0x0
WdfIoForwardProgressReservedPolicyAlwaysUseReservedRequest
In a low-memory situation, the framework always uses a reserved request object, if one is available.
WdfIoForwardProgressReservedPolicyUseExamine
In a low-memory situation, the framework calls the driver's EvtIoWdmIrpForForwardProgress callback function.
WdfIoForwardProgressReservedPolicyPagingIO
In a low-memory situation, if the Flags member of the I/O request's IRP structure indicates a paging operation, the framework uses a reserved request object, if one is available. If the I/O request is not a paging operation, the framework completes the I/O request with an error status value.

Remarks

The WDF_IO_FORWARD_PROGRESS_RESERVED_POLICY enumeration is used as a member type in the WDF_IO_QUEUE_FORWARD_PROGRESS_POLICY structure.

Requirements

Requirement Value
Minimum KMDF version 1.9
Header wdfio.h (include Wdf.h)