:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / tools / wmc / windows.h
1 #include <wchar.h>
2 typedef wchar_t WCHAR;
3 typedef unsigned short int WORD;
4 typedef unsigned int UINT;
5 typedef unsigned int DWORD;
6 typedef char CHAR;
7 typedef CHAR *LPSTR;
8 typedef WCHAR *LPWSTR;
9 typedef const CHAR *LPCSTR;
10 typedef const WCHAR *LPCWSTR;
11 typedef unsigned int *LPBOOL;
12
13 #ifndef __unix__
14 #define STDCALL __attribute__((stdcall))
15 #else
16 #define STDCALL
17 #endif
18
19 int STDCALL MultiByteToWideChar(
20   UINT CodePage,
21   DWORD dwFlags,
22   LPCSTR lpMultiByteStr,
23   int cbMultiByte,
24   LPWSTR lpWideCharStr,
25   int cchWideChar);
26
27 int STDCALL WideCharToMultiByte(
28   UINT CodePage,
29   DWORD dwFlags,
30   LPCWSTR lpWideCharStr,
31   int cchWideChar,
32   LPSTR lpMultiByteStr,
33   int cbMultiByte,
34   LPCSTR lpDefaultChar,
35   LPBOOL lpUsedDefaultChar);