summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-11 21:37:13 -0500
committermidipix <writeonce@midipix.org>2016-12-11 22:27:33 -0500
commit9e3f4e60fc8ce5a3604b4104b568c2186b3e428c (patch)
tree65e1851ec9804b276e5496acf0a1b27c20a04cb5 /include
parent643bab43280d2cd7e071788ac13f4af3f4c280b8 (diff)
downloadntapi-9e3f4e60fc8ce5a3604b4104b568c2186b3e428c.tar.bz2
ntapi-9e3f4e60fc8ce5a3604b4104b568c2186b3e428c.tar.xz
api headers: added nt_abi.h, supporting visual studio and hosted environment.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_abi.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/ntapi/nt_abi.h b/include/ntapi/nt_abi.h
new file mode 100644
index 0000000..de99106
--- /dev/null
+++ b/include/ntapi/nt_abi.h
@@ -0,0 +1,31 @@
+#ifndef _NT_ABI_H_
+#define _NT_ABI_H_
+
+#ifdef _MIDIPIX_FREESTANDING
+
+#include <psxtypes/psxtypes.h>
+
+#else
+
+#include <stdint.h>
+#include <stddef.h>
+#include <stdarg.h>
+#include <sys/types.h>
+
+#ifndef __in
+#define __in
+#define __out
+#define __in_opt
+#define __out_opt
+#define __in_out
+#define __in_out_opt
+#define __optional
+#define __reserved
+#endif
+
+typedef unsigned short wchar16_t;
+typedef unsigned int wchar32_t;
+
+#endif
+
+#endif