WDF_KPROCESSOR_MODE enumeration

[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.]

The WDF_KPROCESSOR_MODE enumeration type identifies the processor modes in which a thread can execute.

Syntax


typedef enum _WDF_KPROCESSOR_MODE { 
  WdfKProcessorModeInvalid  = 0,
  WdfKernelMode             = 1,
  WdfUserMode               = 2,
  WdfKProcessorModeMaximum  = 3
} WDF_KPROCESSOR_MODE, *PWDF_KPROCESSOR_MODE;

Constants

WdfKProcessorModeInvalid

Reserved for system use.

WdfKernelMode

The processor mode is kernel mode.

WdfUserMode

The processor mode is user mode.

WdfKProcessorModeMaximum

Valid enumeration values were exceeded.

Remarks

The WDF_KPROCESSOR_MODE enumeration type is return type for IWDFIoRequest2::GetRequestorMode.

Requirements

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.9

Header

Wudfddi_types.h (include Wudfddi.h)

See also

IWDFIoRequest2::GetRequestorMode

 

 

Send comments about this topic to Microsoft

Show: