PowerThreadRole

class ntoseye.PowerThreadRole

Subclass of BaseRecord.

Why a DRIVER_POWER_STATE_FAILURE names a thread: kind irp_worker (a power IRP worker thread, passing irp to device, or waiting for work when both are 0) or pnp_lock_owner (the thread that holds the PnP lock, 0x4).

property kind: Literal['irp_worker', 'pnp_lock_owner']

The variant: irp_worker, pnp_lock_owner.

final class IrpWorker

Subclass of PowerThreadRole.

A power IRP worker thread, passing irp to device, or waiting for work when both are 0.

property device: int
property irp: int
property kind: Literal['irp_worker']

irp_worker.

final class PnpLockOwner

Subclass of PowerThreadRole.

The thread that holds the PnP lock (0x4).

property kind: Literal['pnp_lock_owner']

pnp_lock_owner.