FltSetIoPriorityHintIntoThread - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// fltkernel.h

NTSTATUS FLTAPI FltSetIoPriorityHintIntoThread(
  [in] PETHREAD         Thread,
  [in] IO_PRIORITY_HINT PriorityHint
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-fltkernel-fltsetiopriorityhintintothread)

FltSetIoPriorityHintIntoThread function

Description

The FltSetIoPriorityHintIntoThread routine is used by a minifilter driver to set the IO priority information in a thread.

Parameters

Thread [in]

A pointer to the thread to modify. This parameter is required and cannot be NULL.

PriorityHint [in]

The IO_PRIORITY_HINT enumeration value to set for the thread information pointed to by Thread.

Return value

If the IO Priority value passed to the PriorityHint parameter is successfully applied to the Thread, FltSetIoPriorityHintIntoThread returns STATUS_SUCCESS. Otherwise, it returns an appropriate NTSTATUS value, such as one of the following:

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 IO paths.

See also

FLT_CALLBACK_DATA

FltApplyPriorityInfoThread

FltGetIoPriorityHint

FltGetIoPriorityHintFromCallbackData

FltGetIoPriorityHintFromFileObject

FltGetIoPriorityHintFromThread

FltRetrieveIoPriorityInfo

FltSetIoPriorityHintIntoCallbackData

FltSetIoPriorityHintIntoFileObject

IO_PRIORITY_HINT