1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 #ifndef _INTEROP_TYPES__H
6 #define _INTEROP_TYPES__H
11 #define INT_MIN (-2147483647 - 1)
13 typedef char16_t WCHAR;
15 typedef WCHAR *LPWSTR, *PWSTR;
16 typedef const WCHAR *LPCWSTR, *PCWSTR;
19 typedef const char* LPCSTR;
20 typedef void* FARPROC;
21 typedef void* HMODULE;
24 typedef unsigned char BYTE;
25 typedef WCHAR OLECHAR;
26 typedef ptrdiff_t INT_PTR;
27 typedef size_t UINT_PTR;
29 typedef unsigned long long ULONG64;
30 typedef double DOUBLE;
32 typedef signed long long LONG64, *PLONG64;
33 typedef int INT, *LPINT;
34 typedef unsigned int UINT;
35 typedef char CHAR, *PCHAR;
36 typedef unsigned short USHORT;
37 typedef signed short SHORT;
38 typedef unsigned short WORD, *PWORD, *LPWORD;
48 #endif //_INTEROP_TYPES__H