include/ddk: Add DEVICE_RELATIONS and DEVICE_INTERFACE_CHANGE_NOTIFICATION

André Hentschel nerv at dawncrow.de
Tue Aug 6 17:01:47 CDT 2013


---
 include/ddk/wdm.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h
index 35773a0..4869a3c 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,
-- 
1.8.1.2



More information about the wine-patches mailing list