diff options
author | 2020-11-04 12:55:25 +0100 | |
---|---|---|
committer | 2020-11-04 13:21:43 +0100 | |
commit | 5d1efa847fc038d8c34b0e050a30bb07c6cb686e (patch) | |
tree | 850e61a4a7ec676cb5a67b1dd6e75e884b56a4a6 /api/entry.h | |
parent | api: concatenate function name at runtime (diff) | |
download | wintun-5d1efa847fc038d8c34b0e050a30bb07c6cb686e.tar.xz wintun-5d1efa847fc038d8c34b0e050a30bb07c6cb686e.zip |
api: use a logging alloc function
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/entry.h')
-rw-r--r-- | api/entry.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/api/entry.h b/api/entry.h index 4f925b1..ac37680 100644 --- a/api/entry.h +++ b/api/entry.h @@ -26,8 +26,6 @@ #endif #pragma warning(disable : 4127) /* conditional expression is constant */ -#define RET_ERROR(Ret, Error) ((Error) == ERROR_SUCCESS ? (Ret) : (SetLastError(Error), 0)) - extern HINSTANCE ResourceModule; extern HANDLE ModuleHeap; extern SECURITY_ATTRIBUTES SecurityAttributes; |