hidclass.sys: Use PDRIVER_ADD_DEVICE.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Zebediah Figura 2019-06-06 11:12:49 -04:00 committed by Alexandre Julliard
parent eab720d35d
commit 700633ee0f
1 changed files with 1 additions and 3 deletions

View File

@ -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;