diff options
author | Simon Rozman <simon@rozman.si> | 2020-10-30 07:50:14 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2020-10-31 10:41:48 +0100 |
commit | 44cfac5d633d8b962e81a9f247a2e8e5e4d5551f (patch) | |
tree | 3292a1cd28d75de6a19a6bcb9e0dab05480462da /api | |
parent | api: split adapter creation/deletion to delegator and worker functions (diff) | |
download | wintun-44cfac5d633d8b962e81a9f247a2e8e5e4d5551f.tar.xz wintun-44cfac5d633d8b962e81a9f247a2e8e5e4d5551f.zip |
api: add a cleanup note when Windows 7 support is discontinued
DriverMajorVersion and DriverMinorVersion registry values were
introduced in Windows 8.
Suggested-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api')
-rw-r--r-- | api/api.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -25,6 +25,7 @@ WintunGetVersion( if (RegistryQueryDWORD(Key, L"DriverMajorVersion", DriverVersionMaj, FALSE) != ERROR_SUCCESS || RegistryQueryDWORD(Key, L"DriverMinorVersion", DriverVersionMin, FALSE) != ERROR_SUCCESS) { + /* TODO: Drop the fallback to WINTUN_VERSION_MAJ & WINTUN_VERSION_MIN when Windows 7 support is discontinued. */ *DriverVersionMaj = WINTUN_VERSION_MAJ; *DriverVersionMin = WINTUN_VERSION_MIN; } |