Hardware Dev Center

Collapse the table of content
Expand the table of content
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

Target platform

Universal

Version

Available in Windows Vista and later versions of Windows.

Header

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

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

Any level

See also

IO_PRIORITY_HINT
IoGetIoPriorityHint

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft