Added WM_SIZING message support.
[wine] / include / crtdll.h
1 #ifndef __WINE_CRTDLL_H
2 #define __WINE_CRTDLL_H
3
4 #include "windef.h"
5
6 #define CRTDLL_LC_ALL           0
7 #define CRTDLL_LC_COLLATE       1
8 #define CRTDLL_LC_CTYPE         2
9 #define CRTDLL_LC_MONETARY      3
10 #define CRTDLL_LC_NUMERIC       4
11 #define CRTDLL_LC_TIME          5
12 #define CRTDLL_LC_MIN           LC_ALL
13 #define CRTDLL_LC_MAX           LC_TIME
14
15 /* ctype defines */
16 #define CRTDLL_UPPER            0x1
17 #define CRTDLL_LOWER            0x2
18 #define CRTDLL_DIGIT            0x4
19 #define CRTDLL_SPACE            0x8
20 #define CRTDLL_PUNCT            0x10
21 #define CRTDLL_CONTROL          0x20
22 #define CRTDLL_BLANK            0x40
23 #define CRTDLL_HEX              0x80
24 #define CRTDLL_LEADBYTE         0x8000
25 #define CRTDLL_ALPHA            (0x0100|CRTDLL_UPPER|CRTDLL_LOWER)
26
27 /* function prototypes used in crtdll.c */
28 extern int LastErrorToErrno(DWORD);
29
30 void * __cdecl CRTDLL_malloc( DWORD size );
31 void   __cdecl CRTDLL_free( void *ptr );
32
33 LPSTR  __cdecl CRTDLL__mbsinc( LPCSTR str );
34 INT    __cdecl CRTDLL__mbslen( LPCSTR str );
35 LPWSTR __cdecl CRTDLL__wcsdup( LPCWSTR str );
36 INT    __cdecl CRTDLL__wcsicmp( LPCWSTR str1, LPCWSTR str2 );
37 INT    __cdecl CRTDLL__wcsicoll( LPCWSTR str1, LPCWSTR str2 );
38 LPWSTR __cdecl CRTDLL__wcslwr( LPWSTR str );
39 INT    __cdecl CRTDLL__wcsnicmp( LPCWSTR str1, LPCWSTR str2, INT n );
40 LPWSTR __cdecl CRTDLL__wcsnset( LPWSTR str, WCHAR c, INT n );
41 LPWSTR __cdecl CRTDLL__wcsrev( LPWSTR str );
42 LPWSTR __cdecl CRTDLL__wcsset( LPWSTR str, WCHAR c );
43 LPWSTR __cdecl CRTDLL__wcsupr( LPWSTR str );
44 INT    __cdecl CRTDLL_iswalnum( WCHAR wc );
45 INT    __cdecl CRTDLL_iswalpha( WCHAR wc );
46 INT    __cdecl CRTDLL_iswcntrl( WCHAR wc );
47 INT    __cdecl CRTDLL_iswdigit( WCHAR wc );
48 INT    __cdecl CRTDLL_iswgraph( WCHAR wc );
49 INT    __cdecl CRTDLL_iswlower( WCHAR wc );
50 INT    __cdecl CRTDLL_iswprint( WCHAR wc );
51 INT    __cdecl CRTDLL_iswpunct( WCHAR wc );
52 INT    __cdecl CRTDLL_iswspace( WCHAR wc );
53 INT    __cdecl CRTDLL_iswupper( WCHAR wc );
54 INT    __cdecl CRTDLL_iswxdigit( WCHAR wc );
55 INT    __cdecl CRTDLL_iswctype( WCHAR wc, WCHAR wct );
56 INT    __cdecl CRTDLL_mbstowcs( LPWSTR dst, LPCSTR src, INT n );
57 INT    __cdecl CRTDLL_mbtowc( WCHAR *dst, LPCSTR str, INT n );
58 WCHAR  __cdecl CRTDLL_towlower( WCHAR ch );
59 WCHAR  __cdecl CRTDLL_towupper( WCHAR ch );
60 LPWSTR __cdecl CRTDLL_wcscat( LPWSTR dst, LPCWSTR src );
61 LPWSTR __cdecl CRTDLL_wcschr( LPCWSTR str, WCHAR ch );
62 INT    __cdecl CRTDLL_wcscmp( LPCWSTR str1, LPCWSTR str2 );
63 DWORD  __cdecl CRTDLL_wcscoll( LPCWSTR str1, LPCWSTR str2 );
64 LPWSTR __cdecl CRTDLL_wcscpy( LPWSTR dst, LPCWSTR src );
65 INT    __cdecl CRTDLL_wcscspn( LPCWSTR str, LPCWSTR reject );
66 INT    __cdecl CRTDLL_wcslen( LPCWSTR str );
67 LPWSTR __cdecl CRTDLL_wcsncat( LPWSTR s1, LPCWSTR s2, INT n );
68 INT    __cdecl CRTDLL_wcsncmp( LPCWSTR str1, LPCWSTR str2, INT n );
69 LPWSTR __cdecl CRTDLL_wcsncpy( LPWSTR s1, LPCWSTR s2, INT n );
70 LPWSTR __cdecl CRTDLL_wcspbrk( LPCWSTR str, LPCWSTR accept );
71 LPWSTR __cdecl CRTDLL_wcsrchr( LPWSTR str, WCHAR ch );
72 INT    __cdecl CRTDLL_wcsspn( LPCWSTR str, LPCWSTR accept );
73 LPWSTR __cdecl CRTDLL_wcsstr( LPCWSTR str, LPCWSTR sub );
74 LPWSTR __cdecl CRTDLL_wcstok( LPWSTR str, LPCWSTR delim );
75 INT    __cdecl CRTDLL_wcstol( LPWSTR s, LPWSTR *end, INT base );
76 INT    __cdecl CRTDLL_wcstombs( LPSTR dst, LPCWSTR src, INT n );
77 INT    __cdecl CRTDLL_wctomb( LPSTR dst, WCHAR ch );
78
79 #ifdef notyet
80 #define _mbsinc      CRTDLL__mbsinc
81 #define _mbslen      CRTDLL__mbslen
82 #define _wcsdup      CRTDLL__wcsdup
83 #define _wcsicmp     CRTDLL__wcsicmp
84 #define _wcsicoll    CRTDLL__wcsicoll
85 #define _wcslwr      CRTDLL__wcslwr
86 #define _wcsnicmp    CRTDLL__wcsnicmp
87 #define _wcsnset     CRTDLL__wcsnset
88 #define _wcsrev      CRTDLL__wcsrev
89 #define _wcsset      CRTDLL__wcsset
90 #define _wcsupr      CRTDLL__wcsupr
91 #define iswalnum     CRTDLL_iswalnum
92 #define iswalpha     CRTDLL_iswalpha
93 #define iswcntrl     CRTDLL_iswcntrl
94 #define iswdigit     CRTDLL_iswdigit
95 #define iswgraph     CRTDLL_iswgraph
96 #define iswlower     CRTDLL_iswlower
97 #define iswprint     CRTDLL_iswprint
98 #define iswpunct     CRTDLL_iswpunct
99 #define iswspace     CRTDLL_iswspace
100 #define iswupper     CRTDLL_iswupper
101 #define iswxdigit    CRTDLL_iswxdigit
102 #define mbstowcs     CRTDLL_mbstowcs
103 #define mbtowc       CRTDLL_mbtowc
104 #define towlower     CRTDLL_towlower
105 #define towupper     CRTDLL_towupper
106 #define wcscat       CRTDLL_wcscat
107 #define wcschr       CRTDLL_wcschr
108 #define wcscmp       CRTDLL_wcscmp
109 #define wcscoll      CRTDLL_wcscoll
110 #define wcscpy       CRTDLL_wcscpy
111 #define wcscspn      CRTDLL_wcscspn
112 #define wcslen       CRTDLL_wcslen
113 #define wcsncat      CRTDLL_wcsncat
114 #define wcsncmp      CRTDLL_wcsncmp
115 #define wcsncpy      CRTDLL_wcsncpy
116 #define wcspbrk      CRTDLL_wcspbrk
117 #define wcsrchr      CRTDLL_wcsrchr
118 #define wcsspn       CRTDLL_wcsspn
119 #define wcsstr       CRTDLL_wcsstr
120 #define wcstok       CRTDLL_wcstok
121 #define wcstombs     CRTDLL_wcstombs
122 #define wctomb       CRTDLL_wctomb
123 #endif
124
125 #endif /* __WINE_CRTDLL_H */