wintun/api
Simon Rozman cef7922556 api: elevate to SYSTEM in WintunEnumAdapters()
The WintunEnumAdapters() requires namespace mutex. However,
NamespaceTakePoolMutex() works as SYSTEM user only.

WireGuard is using the WintunEnumAdapters() in its manager service to
cleanup stale adapters. As the WireGuard manager service is running as
SYSTEM, this requirement was not apparent before.

This commit also extends the example project to list its existing
adapters at start.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-03-08 13:48:29 +01:00
..
adapter.c api: elevate to SYSTEM in WintunEnumAdapters() 2021-03-08 13:48:29 +01:00
adapter.h global: bump copyright 2021-01-30 16:45:26 +01:00
api.vcxproj api: delay load remaining dlls to work around forwarder gotchas 2020-11-27 14:52:03 +01:00
api.vcxproj.filters api: include the rundll32 helpers the MSVC-typical way 2020-11-04 13:21:42 +01:00
elevate.c api: upgrade logging 2021-02-16 04:19:21 +01:00
elevate.h global: bump copyright 2021-01-30 16:45:26 +01:00
entry.c global: bump copyright 2021-01-30 16:45:26 +01:00
entry.h global: bump copyright 2021-01-30 16:45:26 +01:00
exports.def api: remove WintunOpenAdapterDeviceObject 2020-11-05 16:58:43 +01:00
extract-driverver.js global: bump copyright 2021-01-30 16:45:26 +01:00
logger.c api: upgrade logging 2021-02-16 04:19:21 +01:00
logger.h api: upgrade logging 2021-02-16 04:19:21 +01:00
namespace.c api: upgrade logging 2021-02-16 04:19:21 +01:00
namespace.h global: bump copyright 2021-01-30 16:45:26 +01:00
nci.def api: make nci.lib work on x86 2020-11-02 11:38:02 +01:00
nci.h global: bump copyright 2021-01-30 16:45:26 +01:00
ntdll.h api: upgrade logging 2021-02-16 04:19:21 +01:00
pch.c global: bump copyright 2021-01-30 16:45:26 +01:00
registry.c api: upgrade logging 2021-02-16 04:19:21 +01:00
registry.h global: bump copyright 2021-01-30 16:45:26 +01:00
resource.c api: upgrade logging 2021-02-16 04:19:21 +01:00
resource.h global: bump copyright 2021-01-30 16:45:26 +01:00
resources.rc global: bump copyright 2021-01-30 16:45:26 +01:00
rundll32_i.c api: upgrade logging 2021-02-16 04:19:21 +01:00
rundll32.c global: bump copyright 2021-01-30 16:45:26 +01:00
session.c api: upgrade logging 2021-02-16 04:19:21 +01:00
wintun.h global: bump copyright 2021-01-30 16:45:26 +01:00