// wdm.h
NTSTATUS IoSetIoPriorityHint(
  [in] PIRP             Irp,
  [in] IO_PRIORITY_HINT PriorityHint
);
View the official Windows Driver Kit DDI referenceNo description available.
The IoSetIoPriorityHint routine sets the priority hint value for an IRP.
Irp [in]Specifies the IRP to set the priority hint value for.
PriorityHint [in]Specifies the IO_PRIORITY_HINT value that indicates the new priority hint.
IoSetIoPriorityHint returns STATUS_SUCCESS if the operation succeeds and the appropriate NTSTATUS value if the operation fails.
For more information about priority hints, see Using IRP Priority Hints.