WdfRequestIsFromUserModeDriver function (wdfrequest.h)

[Applies to UMDF only]

The WdfRequestIsFromUserModeDriver method indicates whether an I/O request came from a user-mode driver or an application.

Syntax

BOOLEAN WdfRequestIsFromUserModeDriver(
  [in] WDFREQUEST Request
);

Parameters

[in] Request

A handle to a framework request object.

Return value

WdfRequestIsFromUserModeDriver returns TRUE if the specified I/O request is from a user-mode driver. The method returns FALSE if the current I/O request came from an application.

Remarks

If your driver supports kernel-mode clients, it should call WdfRequestIsFromUserModeDriver only if WdfRequestGetRequestorMode returns WdfUserMode.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Target Platform Universal
Minimum UMDF version 2.0
Header wdfrequest.h (include Wdf.h)
Library WUDFx02000.lib
DLL WUDFx02000.dll
IRQL PASSIVE_LEVEL

See also

WdfRequestGetRequestorMode