From 2b4e164d6917f733e37312486eecb847d4dfbd82 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 4 Nov 2020 16:18:47 +0100 Subject: [PATCH] api: document adapter handle return value properly Signed-off-by: Jason A. Donenfeld --- api/wintun.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/wintun.h b/api/wintun.h index 51d2de1..8007a7d 100644 --- a/api/wintun.h +++ b/api/wintun.h @@ -41,7 +41,7 @@ typedef void *WINTUN_ADAPTER_HANDLE; * @return If the function succeeds, the return value is the adapter handle. Must be released with WintunFreeAdapter. If * the function fails, the return value is NULL. To get extended error information, call GetLastError. */ -typedef _Return_type_success_(return != NULL) WINTUN_ADAPTER_HANDLE *(WINAPI *WINTUN_CREATE_ADAPTER_FUNC)( +typedef _Return_type_success_(return != NULL) WINTUN_ADAPTER_HANDLE (WINAPI *WINTUN_CREATE_ADAPTER_FUNC)( _In_z_ const WCHAR *Pool, _In_z_ const WCHAR *Name, _In_opt_ const GUID *RequestedGUID,