From f9105eac34e9c642554b45e9e1e49ab3f39aca60 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Mon, 6 Jul 2015 13:10:29 -0500 Subject: [PATCH] include: Add IRP_MJ_POWER minor function codes. --- include/ddk/wdm.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h index 10832cf6fdf..76481610bf7 100644 --- a/include/ddk/wdm.h +++ b/include/ddk/wdm.h @@ -269,6 +269,11 @@ typedef struct _WAIT_CONTEXT_BLOCK { #define IRP_MN_SURPRISE_REMOVAL 0x17 #define IRP_MN_QUERY_LEGACY_BUS_INFORMATION 0x18 +#define IRP_MN_WAIT_WAKE 0x00 +#define IRP_MN_POWER_SEQUENCE 0x01 +#define IRP_MN_SET_POWER 0x02 +#define IRP_MN_QUERY_POWER 0x03 + #define IRP_QUOTA_CHARGED 0x01 #define IRP_ALLOCATED_MUST_SUCCEED 0x02 #define IRP_ALLOCATED_FIXED_SIZE 0x04 -- 2.11.4.GIT