typedef struct _POP_DEVICE_SYS_STATE { unsigned char IrpMinor; SYSTEM_POWER_STATE SystemState; unsigned __int64 SpinLock; KTHREAD *Thread; KEVENT *AbortEvent; KSEMAPHORE *ReadySemaphore; KSEMAPHORE *FinishedSemaphore; unsigned char GetNewDeviceList; PO_DEVICE_NOTIFY_ORDER Order; LIST_ENTRY Pending; long Status; DEVICE_OBJECT *FailedDevice; unsigned char Waking; unsigned char Cancelled; unsigned char IgnoreErrors; unsigned char IgnoreNotImplemented; unsigned char TimeRefreshLockAcquired; } POP_DEVICE_SYS_STATE, *PPOP_DEVICE_SYS_STATE;