diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-04 16:18:47 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-04 16:19:53 +0100 |
commit | 2b4e164d6917f733e37312486eecb847d4dfbd82 (patch) | |
tree | e2fbf6964819dc80da30410ec6be4411fc3383f4 /api/wintun.h | |
parent | api: CALLBACK_FUNC -> CALLBACK (diff) | |
download | wintun-2b4e164d6917f733e37312486eecb847d4dfbd82.tar.xz wintun-2b4e164d6917f733e37312486eecb847d4dfbd82.zip |
api: document adapter handle return value properly
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | api/wintun.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, |