From 598cb0cb4cd2c2c1b2e92b2c1d229a4bdc297212 Mon Sep 17 00:00:00 2001 From: Casper Hornstrup Date: Fri, 4 Jan 2002 23:40:13 +0000 Subject: [PATCH] Fixed compilation of wmc. svn path=/trunk/; revision=2488 --- reactos/tools/wmc/windows.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/reactos/tools/wmc/windows.h b/reactos/tools/wmc/windows.h index 1f3e094651d..48d43b76245 100644 --- a/reactos/tools/wmc/windows.h +++ b/reactos/tools/wmc/windows.h @@ -1,3 +1,31 @@ #include typedef wchar_t WCHAR; typedef unsigned short int WORD; +typedef unsigned int UINT; +typedef unsigned int DWORD; +typedef char CHAR; +typedef CHAR *LPSTR; +typedef WCHAR *LPWSTR; +typedef const CHAR *LPCSTR; +typedef const WCHAR *LPCWSTR; +typedef unsigned int *LPBOOL; + +#define STDCALL __attribute__((stdcall)) + +int STDCALL MultiByteToWideChar( + UINT CodePage, + DWORD dwFlags, + LPCSTR lpMultiByteStr, + int cbMultiByte, + LPWSTR lpWideCharStr, + int cchWideChar); + +int STDCALL WideCharToMultiByte( + UINT CodePage, + DWORD dwFlags, + LPCWSTR lpWideCharStr, + int cchWideChar, + LPSTR lpMultiByteStr, + int cbMultiByte, + LPCSTR lpDefaultChar, + LPBOOL lpUsedDefaultChar);