// ntddk.h
IO_PAGING_PRIORITY IoGetPagingIoPriority(
[in] PIRP Irp
);
View the official Windows Driver Kit DDI referenceNo description available.
The IoGetPagingIoPriority routine indicates the priority level of a paging I/O request.
Irp [in]Pointer to the IRP to be tested for paging priority.
IoGetPagingIoPriority returns the IO_PAGING_PRIORITY value for the associated IRP.
For I/O requests that causing paging, the system associates an IO_PAGING_PRIORITY value that describes the IRP's priority. Drivers can use this value when queuing IRPs.