#include "green.h"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ GreenPower()
Definition at line 15 of file power.c.
18{
23
26
27 switch (
Stack->MinorFunction)
28 {
30 {
31 DPRINT(
"IRP_MJ_POWER / IRP_MN_SET_POWER\n");
33 {
36 }
37 else
38 {
39 DPRINT1(
"IRP_MJ_POWER / IRP_MN_SET_POWER / Unknown type 0x%lx\n",
42 }
43 break;
44 }
45 default:
46 {
47 DPRINT1(
"IRP_MJ_POWER / unknown minor function 0x%lx\n",
Stack->MinorFunction);
48 break;
49 }
50 }
51
56
58}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
struct _COMMON_DEVICE_EXTENSION * PCOMMON_DEVICE_EXTENSION
#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
Referenced by GreenDispatch().