PowerIrp

final class ntoseye.PowerIrp

Subclass of BaseRecord.

A power IRP the power manager allocated (_POP_IRP_DATA).

property current_device: int

The device the power manager passed it to last, or 0.

property data: int
property holder: Diagnostic[IrpHolder]

Where the IRP is now, or why that is unknown.

property irp: int
property minor_function: int
property minor_name: str | None

IRP_MN_SET_POWER, IRP_MN_QUERY_POWER, IRP_MN_WAIT_WAKE, or IRP_MN_POWER_SEQUENCE.

property pdo: int
property pending: int | None

How long ago the watchdog was armed, in 100 ns units: how long the drivers have had the IRP. None when the watchdog never ran or the current time is unreadable.

property pending_ms: int | None

How long ago the watchdog was armed, in milliseconds.

property state: PowerState
property system_transition: bool

The IRP is part of a system power transition.

property target_device: int

The device PoRequestPowerIrp sent the IRP to, the top of the PDO’s stack.

property watchdog: PowerEnum

WatchdogState: whether the watchdog for the IRP runs.