IoSetIoPriorityHint function

The IoSetIoPriorityHint routine sets the priority hint value for an IRP.

Syntax

NTSTATUS IoSetIoPriorityHint(
  _In_ PIRP             Irp,
  _In_ IO_PRIORITY_HINT PriorityHint
);

Parameters

Irp

Specifies the IRP to set the priority hint value for.

PriorityHint

Specifies the IO_PRIORITY_HINT value that indicates the new priority hint.

Return Value

IoSetIoPriorityHint returns STATUS_SUCCESS if the operation succeeds and the appropriate NTSTATUS value if the operation fails.

Remarks

For more information about priority hints, see Using IRP Priority Hints.

Requirements

   
Windows Driver kit version
Target platform Universal
Minimum KMDF version
Minimum UMDF version
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library
IRQL Any level
DDI compliance rules

See Also

IO_PRIORITY_HINT
IoGetIoPriorityHint

Send comments about this topic to Microsoft