diff options
author | Simon Rozman <simon@rozman.si> | 2020-10-15 12:52:01 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-30 16:51:00 +0100 |
commit | ac6db7788a8dfd6e7658427be6d034cadb50081c (patch) | |
tree | e5830e0426b4e30905299f8c1345f4570d3543a2 /api/api.c | |
parent | api: log out-of-memory errors too (diff) | |
download | wintun-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.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -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, |