aboutsummaryrefslogtreecommitdiffstats
path: root/api/api.c
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-10-15 12:52:01 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-10-30 16:51:00 +0100
commitac6db7788a8dfd6e7658427be6d034cadb50081c (patch)
treee5830e0426b4e30905299f8c1345f4570d3543a2 /api/api.c
parentapi: log out-of-memory errors too (diff)
downloadwintun-ac6db7788a8dfd6e7658427be6d034cadb50081c.tar.xz
wintun-ac6db7788a8dfd6e7658427be6d034cadb50081c.zip
api: move documentation to .h and discontinue on static functions
While Doxygen correctly locates the function documentation when it is written directly preceding the function body, Microsoft Visual Studio IDE does not. The former requires the documentation to precede the function declaration. Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api/api.c')
-rw-r--r--api/api.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/api/api.c b/api/api.c
index 3b7e895..ff852a4 100644
--- a/api/api.c
+++ b/api/api.c
@@ -7,19 +7,6 @@
HINSTANCE ResourceModule;
-/**
- * Returns the version of the Wintun driver and NDIS system currently loaded.
- *
- * @param DriverVersionMaj Pointer to a DWORD to receive the Wintun driver major version number.
- *
- * @param DriverVersionMin Pointer to a DWORD to receive the Wintun driver minor version number.
- *
- * @param NdisVersionMaj Pointer to a DWORD to receive the NDIS major version number.
- *
- * @param NdisVersionMin Pointer to a DWORD to receive the NDIS minor version number.
- *
- * @return ERROR_SUCCESS on success; Win32 error code otherwise.
- */
WINTUN_STATUS WINAPI
WintunGetVersion(
_Out_ DWORD *DriverVersionMaj,