-
Notifications
You must be signed in to change notification settings - Fork 555
/
Driver.h
46 lines (35 loc) · 774 Bytes
/
Driver.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Driver.h: Driver definitions
#include <windows.h>
#include <wdf.h>
#include <usb.h>
#include <wdfusb.h>
#include <initguid.h>
#include <hidport.h>
// ModernTrace is for runtime debugging
// Trace is WPP-based, development debugging
#include "ModernTrace.h"
#include "Trace.h"
#include "AppleDefinition.h"
#include "Hid.h"
#include "Device.h"
#include "Queue.h"
EXTERN_C_START
//
// WDFDRIVER Events
//
DRIVER_INITIALIZE DriverEntry;
EVT_WDF_DRIVER_DEVICE_ADD AmtPtpDeviceEvtDeviceAdd;
EVT_WDF_OBJECT_CONTEXT_CLEANUP AmtPtpDeviceEvtDriverContextCleanup;
//
// Driver initialization routines
//
VOID
DriverTraceInit(
_In_ PDRIVER_OBJECT DriverObject,
_In_ PUNICODE_STRING RegistryPath
);
VOID
DriverTraceCleanup(
_In_ WDFOBJECT DriverObject
);
EXTERN_C_END