diff options
Diffstat (limited to 'driver/driver.h')
| -rw-r--r-- | driver/driver.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/driver/driver.h b/driver/driver.h index a0381fb..ba575d3 100644 --- a/driver/driver.h +++ b/driver/driver.h @@ -16,12 +16,13 @@ #define SYMBOLIC_NAME_STRING L"\\DosDevices\\rawaccel" using counter_t = long long; +namespace ra = rawaccel; typedef struct _DEVICE_EXTENSION { counter_t counter; vec2d carry; CONNECT_DATA UpperConnectData; - WCHAR dev_id[MAX_DEV_ID_LEN]; + WCHAR dev_id[ra::MAX_DEV_ID_LEN]; } DEVICE_EXTENSION, *PDEVICE_EXTENSION; WDF_DECLARE_CONTEXT_TYPE_WITH_NAME(DEVICE_EXTENSION, FilterGetData) |