d04721dee6
1. Add driver to the store: SetupCopyOEMInfW() 2. Create the adapter using explicit path to .inf file: DI_ENUMSINGLEINF 3. Delete all Wintun drivers from the store. This is a subject of further research: - It appears those adapters survive a reboot. So, Windows must store the driver somewhere on the disk and the driver removal is not completed. If the driver removal is not completed until there are existing adapters, this is excellent, as it will provide a self-cleanup. - Test multiple adapters with different driver versions. Which driver wins? - Are other Wintun adapters interrupted when adding a new one? - Test Windows 7 behaviour. Signed-off-by: Simon Rozman <simon@rozman.si> |
||
---|---|---|
.. | ||
adapter.c | ||
adapter.h | ||
api.c | ||
api.h | ||
api.vcxproj | ||
api.vcxproj.filters | ||
driver.c | ||
driver.h | ||
exports.def | ||
logger.c | ||
logger.h | ||
namespace.c | ||
namespace.h | ||
nci.c | ||
nci.h | ||
pch.c | ||
pch.h | ||
registry.c | ||
registry.h | ||
resource.c | ||
resource.h | ||
resources.rc | ||
rundll32.c |