WdfRequestIsFromUserModeDriver function

[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(
  WDFREQUEST Request
);

Parameters

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

   
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