diff options
| author | a1xd <[email protected]> | 2021-01-05 18:05:48 -0500 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-01-05 18:05:48 -0500 |
| commit | 6969310edd56edb555dd98acbc1478caa5728593 (patch) | |
| tree | 52915ea646db380cad119c17c484660b38ff8724 /driver/driver.h | |
| parent | Update driver/driver.h (diff) | |
| download | rawaccel-6969310edd56edb555dd98acbc1478caa5728593.tar.xz rawaccel-6969310edd56edb555dd98acbc1478caa5728593.zip | |
size device id/hwids based on docs
this also changes the connect ioctl to not abort when hwid query fails
Diffstat (limited to 'driver/driver.h')
| -rw-r--r-- | driver/driver.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/driver.h b/driver/driver.h index ac42f4b..5b610fe 100644 --- a/driver/driver.h +++ b/driver/driver.h @@ -4,7 +4,7 @@ #include <kbdmou.h> #include <wdf.h> -#include "vec2.h" +#include "rawaccel-settings.h" #if DBG #define DebugPrint(_x_) DbgPrint _x_ @@ -21,7 +21,7 @@ typedef struct _DEVICE_EXTENSION { counter_t counter; vec2d carry; CONNECT_DATA UpperConnectData; - WCHAR hwid[512]; + WCHAR hwid[MAX_HWID_LEN]; } DEVICE_EXTENSION, *PDEVICE_EXTENSION; WDF_DECLARE_CONTEXT_TYPE_WITH_NAME(DEVICE_EXTENSION, FilterGetData) |