Bewerken

Delen via


FltGetIoPriorityHint function (fltkernel.h)

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

Syntax

IO_PRIORITY_HINT FLTAPI FltGetIoPriorityHint(
  [in] PFLT_CALLBACK_DATA Data
);

Parameters

[in] Data

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

Requirement Value
Minimum supported client Available in Windows Vista and later versions of Windows operating systems.
Target Platform Universal
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