[PATCH 1/5] hidclass.sys: Use PDRIVER_ADD_DEVICE.
Zebediah Figura
zfigura at codeweavers.com
Thu Jun 6 10:12:49 CDT 2019
From: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/hidclass.sys/hid.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/hidclass.sys/hid.h b/dlls/hidclass.sys/hid.h
index ff2e7eff47..b9bf13579f 100644
--- a/dlls/hidclass.sys/hid.h
+++ b/dlls/hidclass.sys/hid.h
@@ -34,8 +34,6 @@
#define DEFAULT_POLL_INTERVAL 200
#define MAX_POLL_INTERVAL_MSEC 10000
-typedef NTSTATUS (WINAPI *pAddDevice)(DRIVER_OBJECT *DriverObject, DEVICE_OBJECT *PhysicalDeviceObject);
-
/* Ring buffer functions */
struct ReportRingBuffer;
@@ -85,7 +83,7 @@ typedef struct _minidriver
PDRIVER_UNLOAD DriverUnload;
- pAddDevice AddDevice;
+ PDRIVER_ADD_DEVICE AddDevice;
PDRIVER_DISPATCH PNPDispatch;
struct list device_list;
} minidriver;
--
2.20.1
More information about the wine-devel
mailing list