Export (0) Print
Expand All
Expand Minimize

IoSetIoPriorityHint routine

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

Syntax


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

Parameters

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.

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

Version

Available in Windows Vista and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

Any level

See also

IO_PRIORITY_HINT
IoGetIoPriorityHint

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft