FltSetIoPriorityHintIntoThread routine

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

Syntax


NTSTATUS FltSetIoPriorityHintIntoThread(
  _In_ PETHREAD         Thread,
  _In_ IO_PRIORITY_HINT PriorityHint
);

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 codeDescription
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.

Requirements

Target platform

Universal

Version

Available in starting with Windows Vista.

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
FltSetIoPriorityHintIntoCallbackData
FltSetIoPriorityHintIntoFileObject
IO_PRIORITY_HINT

 

 

Send comments about this topic to Microsoft

Show: