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>
This commit is contained in:
parent
5a3a217b0b
commit
44cfac5d63
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user