=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: include/ddk: Add DEVICE_RELATIONS and DEVICE_INTERFACE_CHANGE_NOTIFICATION.
Alexandre Julliard
julliard at winehq.org
Fri Aug 16 14:23:46 CDT 2013
Module: wine
Branch: master
Commit: 8bbbf7cd25c37d9896ccac743dc3ae68c54b36a9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8bbbf7cd25c37d9896ccac743dc3ae68c54b36a9
Author: André Hentschel <nerv at dawncrow.de>
Date: Wed Aug 7 00:01:47 2013 +0200
include/ddk: Add DEVICE_RELATIONS and DEVICE_INTERFACE_CHANGE_NOTIFICATION.
---
include/ddk/wdm.h | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
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,
More information about the wine-cvs
mailing list