aboutsummaryrefslogtreecommitdiffstats
path: root/api/api.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/api.h')
-rw-r--r--api/api.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/api/api.h b/api/api.h
index e6c6672..e3cc696 100644
--- a/api/api.h
+++ b/api/api.h
@@ -18,6 +18,19 @@ typedef _Return_type_success_(return == ERROR_SUCCESS) DWORD WINTUN_STATUS;
extern 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,