// fltkernel.h
NTSTATUS FLTAPI FltSetIoPriorityHintIntoFileObject(
[in] PFILE_OBJECT FileObject,
[in] IO_PRIORITY_HINT PriorityHint
);
View the official Windows Driver Kit DDI referenceNo description available.
The FltSetIoPriorityHintIntoFileObject routine is used by a minifilter driver to set the I/O priority information in a file object.
FileObject [in]A pointer to the file object to modify. This parameter is required and cannot be NULL.
PriorityHint [in]The IO_PRIORITY_HINT enumeration value to set for the file object pointed to by FileObject.
If the I/O priority value passed in the PriorityHint parameter is successfully applied to the FileObject structure, FltSetIoPriorityHintIntoFileObject 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 I/O paths.
FltGetIoPriorityHintFromCallbackData
FltGetIoPriorityHintFromFileObject
FltGetIoPriorityHintFromThread
FltSetIoPriorityHintIntoCallbackData
FltSetIoPriorityHintIntoThread