source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/gb18030.h@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 790 bytes
Line 
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _GB18030_H_
7#define _GB18030_H_
8
9#define NLS_CP_CPINFO 0x10000000
10#define NLS_CP_MBTOWC 0x40000000
11#define NLS_CP_WCTOMB 0x80000000
12
13STDAPI_(DWORD) NlsDllCodePageTranslation(DWORD CodePage,DWORD dwFlags,LPSTR lpMultiByteStr,int cchMultiByte,LPWSTR lpWideCharStr,int cchWideChar,LPCPINFO lpCPInfo);
14STDAPI_(DWORD) BytesToUnicode(BYTE *lpMultiByteStr,UINT cchMultiByte,UINT *pcchLeftOverBytes,LPWSTR lpWideCharStr,UINT cchWideChar);
15STDAPI_(DWORD) UnicodeToBytes(LPWSTR lpWideCharStr,UINT cchWideChar,LPSTR lpMultiByteStr,UINT cchMultiByte);
16
17#endif /* _GB18030_H_ */
Note: See TracBrowser for help on using the repository browser.