FltGetIoPriorityHint routine

The FltGetIoPriorityHint routine is used by a minifilter driver to get IO priority information from Callback Data.

Syntax


IO_PRIORITY_HINT FltGetIoPriorityHint(
  _In_ PFLT_CALLBACK_DATA Data
);

Parameters

Data [in]

A pointer to a FLT_CALLBACK_DATA structure that represents an I/O operation. This parameter is required and cannot be NULL.

Return value

The FltGetIoPriorityHint routine returns an IO priority hint retrieved from a FLT_CALLBACK_DATA structure.

Remarks

The FltGetIoPriorityHint routine retrieves an IO Priority hint from the DataFLT_CALLBACK_DATA structure. This hint will be based on the following fields in the FLT_CALLBACK_DATA:

  • IRP (optional)

  • FileObject

  • Thread

If these FLT_CALLBACK_DATA fields do not have an IO priority, the routine returns IoPriorityNormal.

Requirements

Target platform

Universal

Version

Available in Windows Vista and later versions of Windows operating systems.

Header

Fltkernel.h (include FltKernel.h)

Library

FltMgr.lib

DLL

Fltmgr.sys

IRQL

<= DISPATCH_LEVEL

See also

FLT_CALLBACK_DATA
FltApplyPriorityInfoThread
FltGetIoPriorityHintFromCallbackData
FltGetIoPriorityHintFromFileObject
FltGetIoPriorityHintFromThread
FltRetrieveIoPriorityInfo
FltSetIoPriorityHintIntoCallbackData
FltSetIoPriorityHintIntoFileObject
FltSetIoPriorityHintIntoThread
IO_PRIORITY_INFO

 

 

Send comments about this topic to Microsoft

Show: