From ac6db7788a8dfd6e7658427be6d034cadb50081c Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Thu, 15 Oct 2020 12:52:01 +0200 Subject: 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 --- api/api.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'api/api.c') 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, -- cgit v1.2.3-59-g8ed1b