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
|
---|
15 | extern "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
|
---|