mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:25:55 +00:00
Fixed compilation of wmc.
svn path=/trunk/; revision=2488
This commit is contained in:
parent
cc47e7056e
commit
598cb0cb4c
1 changed files with 28 additions and 0 deletions
|
@ -1,3 +1,31 @@
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
typedef wchar_t WCHAR;
|
typedef wchar_t WCHAR;
|
||||||
typedef unsigned short int WORD;
|
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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue