source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/stringapiset.h

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

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

File size: 1.8 KB
RevLine 
[1166]1/**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5
6#ifndef _APISETSTRING_
7#define _APISETSTRING_
8
9#include <apiset.h>
10#include <apisetcconv.h>
11#include <minwindef.h>
12#include <winnls.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
19 WINBASEAPI int WINAPI CompareStringW (LCID Locale, DWORD dwCmpFlags, PCNZWCH lpString1, int cchCount1, PCNZWCH lpString2, int cchCount2);
20 WINBASEAPI int WINAPI FoldStringW (DWORD dwMapFlags, LPCWCH lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
21
22#ifdef UNICODE
23#define CompareString CompareStringW
24#define FoldString FoldStringW
25#endif
26
27#endif
28
29#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
30 WINBASEAPI WINBOOL WINAPI GetStringTypeExW (LCID Locale, DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
31#if WINVER >= 0x0600
32 WINBASEAPI int WINAPI CompareStringEx (LPCWSTR lpLocaleName, DWORD dwCmpFlags, LPCWCH lpString1, int cchCount1, LPCWCH lpString2, int cchCount2, LPNLSVERSIONINFO lpVersionInformation, LPVOID lpReserved, LPARAM lParam);
33 WINBASEAPI int WINAPI CompareStringOrdinal (LPCWCH lpString1, int cchCount1, LPCWCH lpString2, int cchCount2, WINBOOL bIgnoreCase);
34#endif
35
36#ifdef UNICODE
37#define GetStringTypeEx GetStringTypeExW
38#endif
39
40 WINBASEAPI WINBOOL WINAPI GetStringTypeW (DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
41 WINBASEAPI int WINAPI MultiByteToWideChar (UINT CodePage, DWORD dwFlags, LPCCH lpMultiByteStr, int cbMultiByte, LPWSTR lpWideCharStr, int cchWideChar);
42 WINBASEAPI int WINAPI WideCharToMultiByte (UINT CodePage, DWORD dwFlags, LPCWCH lpWideCharStr, int cchWideChar, LPSTR lpMultiByteStr, int cbMultiByte, LPCCH lpDefaultChar, LPBOOL lpUsedDefaultChar);
43#endif
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif
Note: See TracBrowser for help on using the repository browser.