IoSetIoPriorityHint function (wdm.h)

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

Syntax

NTSTATUS IoSetIoPriorityHint(
  [in] PIRP             Irp,
  [in] IO_PRIORITY_HINT PriorityHint
);

Parameters

[in] Irp

Specifies the IRP to set the priority hint value for.

[in] 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

Requirement Value
Minimum supported client Available in Windows Vista and later versions of Windows.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any level

See also

IO_PRIORITY_HINT

IoGetIoPriorityHint