diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h index 35773a00f44..4869a3c8a44 100644 --- a/include/ddk/wdm.h +++ b/include/ddk/wdm.h @@ -267,6 +267,7 @@ typedef struct _WAIT_CONTEXT_BLOCK { #define IRP_MN_QUERY_BUS_INFORMATION 0x15 #define IRP_MN_DEVICE_USAGE_NOTIFICATION 0x16 #define IRP_MN_SURPRISE_REMOVAL 0x17 +#define IRP_MN_QUERY_LEGACY_BUS_INFORMATION 0x18 #define IRP_QUOTA_CHARGED 0x01 #define IRP_ALLOCATED_MUST_SUCCEED 0x02 @@ -319,6 +320,12 @@ typedef struct _DEVICE_OBJECT { } DEVICE_OBJECT; typedef struct _DEVICE_OBJECT *PDEVICE_OBJECT; +typedef struct _DEVICE_RELATIONS { + ULONG Count; + PDEVICE_OBJECT Objects[1]; +} DEVICE_RELATIONS; +typedef struct _DEVICE_RELATIONS *PDEVICE_RELATIONS; + typedef struct _DRIVER_EXTENSION { struct _DRIVER_OBJECT *DriverObject; PVOID AddDevice; @@ -585,6 +592,14 @@ typedef struct _DEVICE_CAPABILITIES { ULONG D3Latency; } DEVICE_CAPABILITIES, *PDEVICE_CAPABILITIES; +typedef struct _DEVICE_INTERFACE_CHANGE_NOTIFICATION { + USHORT Version; + USHORT Size; + GUID Event; + GUID InterfaceClassGuid; + PUNICODE_STRING SymbolicLinkName; +} DEVICE_INTERFACE_CHANGE_NOTIFICATION, *PDEVICE_INTERFACE_CHANGE_NOTIFICATION; + typedef enum _INTERFACE_TYPE { InterfaceTypeUndefined = -1, Internal,