27 switch (
Stack->MinorFunction)
31 DPRINT(
"IRP_MJ_POWER / IRP_MN_SET_POWER\n");
39 DPRINT1(
"IRP_MJ_POWER / IRP_MN_SET_POWER / Unknown type 0x%lx\n",
47 DPRINT1(
"IRP_MJ_POWER / unknown minor function 0x%lx\n",
Stack->MinorFunction);
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
struct _COMMON_DEVICE_EXTENSION * PCOMMON_DEVICE_EXTENSION
NTSTATUS GreenPower(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
#define IoCompleteRequest
VOID NTAPI PoStartNextPowerIrp(IN PIRP Irp)
DEVICE_RELATION_TYPE Type
_In_ PDEVICE_OBJECT DeviceObject
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack
_In_ WDFREQUEST _In_ NTSTATUS _In_ ULONG_PTR Information