From 9e3f4e60fc8ce5a3604b4104b568c2186b3e428c Mon Sep 17 00:00:00 2001 From: midipix Date: Dec 12 2016 03:27:33 +0000 Subject: api headers: added nt_abi.h, supporting visual studio and hosted environment. --- 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 + +#else + +#include +#include +#include +#include + +#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 diff --git a/project/headers.mk b/project/headers.mk index b29341b..4579849 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -1,4 +1,5 @@ API_HEADERS = \ + $(SOURCE_DIR)/include/$(PACKAGE)/./nt_abi.h \ $(SOURCE_DIR)/include/$(PACKAGE)/./nt_acl.h \ $(SOURCE_DIR)/include/$(PACKAGE)/./nt_argv.h \ $(SOURCE_DIR)/include/$(PACKAGE)/./nt_atom.h \