// fltkernel.h
NTSTATUS FLTAPI FltSetIoPriorityHintIntoThread(
[in] PETHREAD Thread,
[in] IO_PRIORITY_HINT PriorityHint
);
View the official Windows Driver Kit DDI referenceNo description available.
The FltSetIoPriorityHintIntoThread routine is used by a minifilter driver to set the IO priority information in a thread.
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.
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. |
This routine is NONPAGED and can be called from paging IO paths.
FltGetIoPriorityHintFromCallbackData
FltGetIoPriorityHintFromFileObject
FltGetIoPriorityHintFromThread
FltSetIoPriorityHintIntoCallbackData
FltSetIoPriorityHintIntoFileObject