wintun/api
Simon Rozman abf6962144 api: simplify driver removal
When we install the Wintun driver to the store, we get exact oem<nn>.inf
filename of the driver in the store we just installed. Since the
installation should be only temporarily, we should uninstall only the
driver we installed.

This also eliminates the need for iterating driver store speeding up
things.

The code we removed was inherited from the installer.dll, where it made
perfect sense to remove all installed Wintun drivers in the update
process.

Suggested-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-10-31 10:41:48 +01:00
..
adapter.c api: simplify driver removal 2020-10-31 10:41:48 +01:00
adapter.h api: simplify driver removal 2020-10-31 10:41:48 +01:00
api.c api: add a cleanup note when Windows 7 support is discontinued 2020-10-31 10:41:48 +01:00
api.h api: make #ifdef-s more descriptive 2020-10-31 10:41:48 +01:00
api.vcxproj api: simplify driver removal 2020-10-31 10:41:48 +01:00
api.vcxproj.filters api: simplify driver removal 2020-10-31 10:41:48 +01:00
atomic.h api: add ring management 2020-10-30 16:51:01 +01:00
exports.def api: depretiate WintunIsPacketAvailable() 2020-10-31 10:41:46 +01:00
logger.c api: use standard C void 2020-10-30 16:51:01 +01:00
logger.h api: introduce wintun.h 2020-10-30 16:51:01 +01:00
namespace.c api: fix zero-parameter C function prototypes 2020-10-31 10:41:46 +01:00
namespace.h api: fix zero-parameter C function prototypes 2020-10-31 10:41:46 +01:00
nci.c api: fix zero-parameter C function prototypes 2020-10-31 10:41:46 +01:00
nci.h api: fix zero-parameter C function prototypes 2020-10-31 10:41:46 +01:00
pch.c api: add pre-compiled header support 2020-10-30 16:50:58 +01:00
pch.h api: simplify driver removal 2020-10-31 10:41:48 +01:00
registry.c api: fallback to hard-coded version 2020-10-31 10:41:46 +01:00
registry.h api: fallback to hard-coded version 2020-10-31 10:41:46 +01:00
resource.c api: use standard C void 2020-10-30 16:51:01 +01:00
resource.h api: use standard C void 2020-10-30 16:51:01 +01:00
resources.rc api: build the bridge from WoW64 to native in 2020-10-30 16:51:00 +01:00
rundll32.c api: make #ifdef-s more descriptive 2020-10-31 10:41:48 +01:00
session.c api: depretiate WintunIsPacketAvailable() 2020-10-31 10:41:46 +01:00
wintun.h api: depretiate WintunIsPacketAvailable() 2020-10-31 10:41:46 +01:00