WdfRequestIsFromUserModeDriver method

[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

Request [in]

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

Target platform

Universal

Minimum support

Windows 8.1

Minimum UMDF version

2.0

Header

Wdfrequest.h (include Wdf.h)

Library

WUDFx02000.lib

DLL

WUDFx02000.dll

IRQL

PASSIVE_LEVEL

See also

WdfRequestGetRequestorMode

 

 

Send comments about this topic to Microsoft

Show: