aboutsummaryrefslogtreecommitdiffstats
path: root/api/rundll32.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-10-14 06:37:50 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2021-10-14 06:51:22 +0000
commit470bdf3e26e433032fe7986f379cad797cdd94cd (patch)
tree73ae00e01e47eebbb8776a26c4e1aeb43e3c7517 /api/rundll32.h
parentapi: adapter: handle cases explicitly in dev query callback (diff)
downloadwintun-470bdf3e26e433032fe7986f379cad797cdd94cd.tar.xz
wintun-470bdf3e26e433032fe7986f379cad797cdd94cd.zip
api: use proper instance id bounds
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/rundll32.h')
-rw-r--r--api/rundll32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/rundll32.h b/api/rundll32.h
index 030419c..762bfcf 100644
--- a/api/rundll32.h
+++ b/api/rundll32.h
@@ -23,4 +23,4 @@ DisableInstanceViaRundll32(_In_ HDEVINFO DevInfo, _In_ SP_DEVINFO_DATA *DevInfoD
_Return_type_success_(return != FALSE)
BOOL
-CreateInstanceWin7ViaRundll32(_Out_writes_z_(MAX_INSTANCE_ID) LPWSTR InstanceId); \ No newline at end of file
+CreateInstanceWin7ViaRundll32(_Out_writes_z_(MAX_DEVICE_ID_LEN) LPWSTR InstanceId); \ No newline at end of file