aboutsummaryrefslogtreecommitdiffstats
path: root/api/api.h
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-10-13 19:40:52 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-10-30 16:50:59 +0100
commitf316c13b3e9548d8694bad9a1d634c15f31fa52d (patch)
tree1e9967655a2094425ce3f4f2d078025dfdf0c736 /api/api.h
parentapi: split api.h (diff)
downloadwintun-f316c13b3e9548d8694bad9a1d634c15f31fa52d.tar.xz
wintun-f316c13b3e9548d8694bad9a1d634c15f31fa52d.zip
api: introduce logging
And other unifications with installer before merging. Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api/api.h')
-rw-r--r--api/api.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/api/api.h b/api/api.h
index 1c1fa65..e6c6672 100644
--- a/api/api.h
+++ b/api/api.h
@@ -7,6 +7,13 @@
#include <Windows.h>
+#ifndef __L
+# define __L(x) L##x
+#endif
+#ifndef _L
+# define _L(x) __L(x)
+#endif
+
typedef _Return_type_success_(return == ERROR_SUCCESS) DWORD WINTUN_STATUS;
extern HINSTANCE ResourceModule;