wintun/api
Simon Rozman faf7d3771c api: connect rundll32 child with parent using stdout and stderr
The WintunCreateAdapter()+CreateAdapter() and WintunDeleteAdapter()+
DeleteAdapter() communicate using Unicode anonymous pipes now. This
allows the WintunCreateAdapter() to exactly determine the adapter
CreateAdapter() just created by its GUID rather than its name - avoiding
the possible ambiguity caused by same-adapter-name ordinal suffixes.
This also allows exact retrieval of the result code and pending reboot
flag from the rundll32 child process.

Furthermore, CreateAdapter() and DeleteAdapter() are now available in
_DEBUG for all platforms to allow testing. It took a #pragma comment(
linker, "/EXPORT") trick to stop compiler from decorating function names
and exporting as _CreateAdapter@16() and _DeleteAdapter@16() in x86.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-10-30 16:51:01 +01:00
..
adapter.c api: connect rundll32 child with parent using stdout and stderr 2020-10-30 16:51:01 +01:00
adapter.h api: introduce wintun.h 2020-10-30 16:51:01 +01:00
api.c api: unify security descriptors and disable for _DEBUG 2020-10-30 16:51:00 +01:00
api.h api: introduce wintun.h 2020-10-30 16:51:01 +01:00
api.vcxproj api: introduce wintun.h 2020-10-30 16:51:01 +01:00
api.vcxproj.filters api: introduce wintun.h 2020-10-30 16:51:01 +01:00
driver.c api: use standard C void 2020-10-30 16:51:01 +01:00
driver.h api: use standard C void 2020-10-30 16:51:01 +01:00
exports.def api: introduce logging 2020-10-30 16:50:59 +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: unify security descriptors and disable for _DEBUG 2020-10-30 16:51:00 +01:00
namespace.h api: internal reorganization 2020-10-30 16:51:00 +01:00
nci.c api: cleanup 2020-10-30 16:50:59 +01:00
nci.h api: split api.h 2020-10-30 16:50:59 +01:00
pch.c api: add pre-compiled header support 2020-10-30 16:50:58 +01:00
pch.h api: introduce wintun.h 2020-10-30 16:51:01 +01:00
registry.c api: move documentation to .h and discontinue on static functions 2020-10-30 16:51:00 +01:00
registry.h api: introduce wintun.h 2020-10-30 16:51:01 +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: connect rundll32 child with parent using stdout and stderr 2020-10-30 16:51:01 +01:00
wintun.h api: connect rundll32 child with parent using stdout and stderr 2020-10-30 16:51:01 +01:00