FltSetIoPriorityHintIntoCallbackData function (fltkernel.h)

The FltSetIoPriorityHintIntoCallbackData routine is used by a minifilter driver to set the I/O priority information in callback data.

Syntax

NTSTATUS FLTAPI FltSetIoPriorityHintIntoCallbackData(
  [in] PFLT_CALLBACK_DATA Data,
  [in] IO_PRIORITY_HINT   PriorityHint
);

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.

[in] PriorityHint

The IO_PRIORITY_HINT enumeration value to set for the I/O operation in the callback data pointed to by Data.

Return value

If this is a fast IO operation, the FltSetIoPriorityHintIntoCallbackData routine returns STATUS_SUCCESS.

Return code Description
STATUS_INVALID_PARAMETER
The value of the PriorityHint parameter is invalid. This is an error code.

Remarks

This routine is NONPAGED and can be called from paging I/O paths.

Requirements

Requirement Value
Minimum supported client Available starting with Windows Vista.
Target Platform Universal
Header fltkernel.h (include FltKernel.h)
Library FltMgr.lib
DLL Fltmgr.sys
IRQL <= DISPATCH_LEVEL

See also

FLT_CALLBACK_DATA

FltApplyPriorityInfoThread

FltGetIoPriorityHint

FltGetIoPriorityHintFromCallbackData

FltGetIoPriorityHintFromFileObject

FltGetIoPriorityHintFromThread

FltRetrieveIoPriorityInfo

FltSetIoPriorityHintIntoFileObject

FltSetIoPriorityHintIntoThread

IO_PRIORITY_HINT