Zebediah Figura : hidclass.sys: Use PDRIVER_ADD_DEVICE.
Alexandre Julliard
julliard at winehq.org
Thu Jun 6 17:05:19 CDT 2019
Module: wine
Branch: master
Commit: 700633ee0ff65a73bb6383b4e9796b5b54bb2d4b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=700633ee0ff65a73bb6383b4e9796b5b54bb2d4b
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Thu Jun 6 11:12:49 2019 -0400
hidclass.sys: Use PDRIVER_ADD_DEVICE.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 ff2e7ef..b9bf135 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;
More information about the wine-cvs
mailing list