1 | /*
|
---|
2 | * SHLWAPI.DLL functions
|
---|
3 | */
|
---|
4 | #ifndef __WINE_SHLWAPI_H
|
---|
5 | #define __WINE_SHLWAPI_H
|
---|
6 |
|
---|
7 | #include <stdarg.h>
|
---|
8 | #include <wingdi.h>
|
---|
9 | #include <winuser.h>
|
---|
10 | #include <shell.h>
|
---|
11 | #include <shtypes.h>
|
---|
12 |
|
---|
13 | #ifdef __cplusplus
|
---|
14 | extern "C" {
|
---|
15 | #endif /* defined(__cplusplus) */
|
---|
16 |
|
---|
17 | #ifndef NO_SHLWAPI_REG
|
---|
18 |
|
---|
19 | /* Registry functions */
|
---|
20 |
|
---|
21 | DWORD WINAPI SHDeleteEmptyKeyA(HKEY,LPCSTR);
|
---|
22 | DWORD WINAPI SHDeleteEmptyKeyW(HKEY,LPCWSTR);
|
---|
23 | #define SHDeleteEmptyKey WINELIB_NAME_AW(SHDeleteEmptyKey)
|
---|
24 |
|
---|
25 | DWORD WINAPI SHDeleteKeyA(HKEY,LPCSTR);
|
---|
26 | DWORD WINAPI SHDeleteKeyW(HKEY,LPCWSTR);
|
---|
27 | #define SHDeleteKey WINELIB_NAME_AW(SHDeleteKey)
|
---|
28 |
|
---|
29 | DWORD WINAPI SHDeleteValueA(HKEY,LPCSTR,LPCSTR);
|
---|
30 | DWORD WINAPI SHDeleteValueW(HKEY,LPCWSTR,LPCWSTR);
|
---|
31 | #define SHDeleteValue WINELIB_NAME_AW(SHDeleteValue)
|
---|
32 |
|
---|
33 | DWORD WINAPI SHGetValueA(HKEY,LPCSTR,LPCSTR,LPDWORD,LPVOID,LPDWORD);
|
---|
34 | DWORD WINAPI SHGetValueW(HKEY,LPCWSTR,LPCWSTR,LPDWORD,LPVOID,LPDWORD);
|
---|
35 | #define SHGetValue WINELIB_NAME_AW(SHGetValue)
|
---|
36 |
|
---|
37 | DWORD WINAPI SHSetValueA(HKEY,LPCSTR,LPCSTR,DWORD,LPCVOID,DWORD);
|
---|
38 | DWORD WINAPI SHSetValueW(HKEY,LPCWSTR,LPCWSTR,DWORD,LPCVOID,DWORD);
|
---|
39 | #define SHSetValue WINELIB_NAME_AW(SHSetValue)
|
---|
40 |
|
---|
41 | DWORD WINAPI SHQueryValueExA(HKEY,LPCSTR,LPDWORD,LPDWORD,LPVOID,LPDWORD);
|
---|
42 | DWORD WINAPI SHQueryValueExW(HKEY,LPCWSTR,LPDWORD,LPDWORD,LPVOID,LPDWORD);
|
---|
43 | #define SHQueryValueEx WINELIB_NAME_AW(SHQueryValueEx)
|
---|
44 |
|
---|
45 | LONG WINAPI SHEnumKeyExA(HKEY,DWORD,LPSTR,LPDWORD);
|
---|
46 | LONG WINAPI SHEnumKeyExW(HKEY,DWORD,LPWSTR,LPDWORD);
|
---|
47 | #define SHEnumKeyEx WINELIB_NAME_AW(SHEnumKeyEx)
|
---|
48 |
|
---|
49 | LONG WINAPI SHEnumValueA(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPVOID,LPDWORD);
|
---|
50 | LONG WINAPI SHEnumValueW(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPVOID,LPDWORD);
|
---|
51 | #define SHEnumValue WINELIB_NAME_AW(SHEnumValue)
|
---|
52 |
|
---|
53 | LONG WINAPI SHQueryInfoKeyA(HKEY,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
|
---|
54 | LONG WINAPI SHQueryInfoKeyW(HKEY,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
|
---|
55 | #define SHQueryInfoKey WINELIB_NAME_AW(SHQueryInfoKey)
|
---|
56 |
|
---|
57 | DWORD WINAPI SHRegGetPathA(HKEY,LPCSTR,LPCSTR,LPSTR,DWORD);
|
---|
58 | DWORD WINAPI SHRegGetPathW(HKEY,LPCWSTR,LPCWSTR,LPWSTR,DWORD);
|
---|
59 | #define SHRegGetPath WINELIB_NAME_AW(SHRegGetPath)
|
---|
60 |
|
---|
61 | DWORD WINAPI SHRegSetPathA(HKEY,LPCSTR,LPCSTR,LPCSTR,DWORD);
|
---|
62 | DWORD WINAPI SHRegSetPathW(HKEY,LPCWSTR,LPCWSTR,LPCWSTR,DWORD);
|
---|
63 | #define SHRegSetPath WINELIB_NAME_AW(SHRegSetPath)
|
---|
64 |
|
---|
65 | DWORD WINAPI SHCopyKeyA(HKEY,LPCSTR,HKEY,DWORD);
|
---|
66 | DWORD WINAPI SHCopyKeyW(HKEY,LPCWSTR,HKEY,DWORD);
|
---|
67 | #define SHCopyKey WINELIB_NAME_AW(SHCopyKey)
|
---|
68 |
|
---|
69 | /* Undocumented registry functions */
|
---|
70 |
|
---|
71 | HKEY WINAPI SHRegDuplicateHKey(HKEY hKey);
|
---|
72 |
|
---|
73 | /* FIXME: SHDeleteOrphanKey */
|
---|
74 |
|
---|
75 |
|
---|
76 | /* User registry functions */
|
---|
77 |
|
---|
78 | typedef enum
|
---|
79 | {
|
---|
80 | SHREGDEL_DEFAULT = 0,
|
---|
81 | SHREGDEL_HKCU = 0x1,
|
---|
82 | SHREGDEL_HKLM = 0x10,
|
---|
83 | SHREGDEL_BOTH = SHREGDEL_HKLM | SHREGDEL_HKCU
|
---|
84 | } SHREGDEL_FLAGS;
|
---|
85 |
|
---|
86 | typedef enum
|
---|
87 | {
|
---|
88 | SHREGENUM_DEFAULT = 0,
|
---|
89 | SHREGENUM_HKCU = 0x1,
|
---|
90 | SHREGENUM_HKLM = 0x10,
|
---|
91 | SHREGENUM_BOTH = SHREGENUM_HKLM | SHREGENUM_HKCU
|
---|
92 | } SHREGENUM_FLAGS;
|
---|
93 |
|
---|
94 | #define SHREGSET_HKCU 0x1 /* Apply to HKCU if empty */
|
---|
95 | #define SHREGSET_FORCE_HKCU 0x2 /* Always apply to HKCU */
|
---|
96 | #define SHREGSET_HKLM 0x4 /* Apply to HKLM if empty */
|
---|
97 | #define SHREGSET_FORCE_HKLM 0x8 /* Always apply to HKLM */
|
---|
98 | #define SHREGSET_DEFAULT (SHREGSET_FORCE_HKCU | SHREGSET_HKLM)
|
---|
99 |
|
---|
100 | typedef HANDLE HUSKEY;
|
---|
101 | typedef HUSKEY *PHUSKEY;
|
---|
102 |
|
---|
103 | LONG WINAPI SHRegCreateUSKeyA(LPCSTR,REGSAM,HUSKEY,PHUSKEY,DWORD);
|
---|
104 | LONG WINAPI SHRegCreateUSKeyW(LPCWSTR,REGSAM,HUSKEY,PHUSKEY,DWORD);
|
---|
105 | #define SHRegCreateUSKey WINELIB_NAME_AW(SHRegCreateUSKey)
|
---|
106 |
|
---|
107 | LONG WINAPI SHRegOpenUSKeyA(LPCSTR,REGSAM,HUSKEY,PHUSKEY,BOOL);
|
---|
108 | LONG WINAPI SHRegOpenUSKeyW(LPCWSTR,REGSAM,HUSKEY,PHUSKEY,BOOL);
|
---|
109 | #define SHRegOpenUSKey WINELIB_NAME_AW(SHRegOpenUSKey)
|
---|
110 |
|
---|
111 | LONG WINAPI SHRegQueryUSValueA(HUSKEY,LPCSTR,LPDWORD,LPVOID,LPDWORD,
|
---|
112 | BOOL,LPVOID,DWORD);
|
---|
113 | LONG WINAPI SHRegQueryUSValueW(HUSKEY,LPCWSTR,LPDWORD,LPVOID,LPDWORD,
|
---|
114 | BOOL,LPVOID,DWORD);
|
---|
115 | #define SHRegQueryUSValue WINELIB_NAME_AW(SHRegQueryUSValue)
|
---|
116 |
|
---|
117 | LONG WINAPI SHRegWriteUSValueA(HUSKEY,LPCSTR,DWORD,LPVOID,DWORD,DWORD);
|
---|
118 | LONG WINAPI SHRegWriteUSValueW(HUSKEY,LPCWSTR,DWORD,LPVOID,DWORD,DWORD);
|
---|
119 | #define SHRegWriteUSValue WINELIB_NAME_AW(SHRegWriteUSValue)
|
---|
120 |
|
---|
121 | LONG WINAPI SHRegDeleteUSValueA(HUSKEY,LPCSTR,SHREGDEL_FLAGS);
|
---|
122 | LONG WINAPI SHRegDeleteUSValueW(HUSKEY,LPCWSTR,SHREGDEL_FLAGS);
|
---|
123 | #define SHRegDeleteUSValue WINELIB_NAME_AW(SHRegDeleteUSValue)
|
---|
124 |
|
---|
125 | LONG WINAPI SHRegDeleteEmptyUSKeyA(HUSKEY,LPCSTR,SHREGDEL_FLAGS);
|
---|
126 | LONG WINAPI SHRegDeleteEmptyUSKeyW(HUSKEY,LPCWSTR,SHREGDEL_FLAGS);
|
---|
127 | #define SHRegDeleteEmptyUSKey WINELIB_NAME_AW(SHRegDeleteEmptyUSKey)
|
---|
128 |
|
---|
129 | LONG WINAPI SHRegEnumUSKeyA(HUSKEY,DWORD,LPSTR,LPDWORD,SHREGENUM_FLAGS);
|
---|
130 | LONG WINAPI SHRegEnumUSKeyW(HUSKEY,DWORD,LPWSTR,LPDWORD,SHREGENUM_FLAGS);
|
---|
131 | #define SHRegEnumUSKey WINELIB_NAME_AW(SHRegEnumUSKey)
|
---|
132 |
|
---|
133 | LONG WINAPI SHRegEnumUSValueA(HUSKEY,DWORD,LPSTR,LPDWORD,LPDWORD,
|
---|
134 | LPVOID,LPDWORD,SHREGENUM_FLAGS);
|
---|
135 | LONG WINAPI SHRegEnumUSValueW(HUSKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,
|
---|
136 | LPVOID,LPDWORD,SHREGENUM_FLAGS);
|
---|
137 | #define SHRegEnumUSValue WINELIB_NAME_AW(SHRegEnumUSValue)
|
---|
138 |
|
---|
139 | LONG WINAPI SHRegQueryInfoUSKeyA(HUSKEY,LPDWORD,LPDWORD,LPDWORD,
|
---|
140 | LPDWORD,SHREGENUM_FLAGS);
|
---|
141 | LONG WINAPI SHRegQueryInfoUSKeyW(HUSKEY,LPDWORD,LPDWORD,LPDWORD,
|
---|
142 | LPDWORD,SHREGENUM_FLAGS);
|
---|
143 | #define SHRegQueryInfoUSKey WINELIB_NAME_AW(SHRegQueryInfoUSKey)
|
---|
144 |
|
---|
145 | LONG WINAPI SHRegCloseUSKey(HUSKEY);
|
---|
146 |
|
---|
147 | LONG WINAPI SHRegGetUSValueA(LPCSTR,LPCSTR,LPDWORD,LPVOID,LPDWORD,
|
---|
148 | BOOL,LPVOID,DWORD);
|
---|
149 | LONG WINAPI SHRegGetUSValueW(LPCWSTR,LPCWSTR,LPDWORD,LPVOID,LPDWORD,
|
---|
150 | BOOL,LPVOID,DWORD);
|
---|
151 | #define SHRegGetUSValue WINELIB_NAME_AW(SHRegGetUSValue)
|
---|
152 |
|
---|
153 | LONG WINAPI SHRegSetUSValueA(LPCSTR,LPCSTR,DWORD,LPVOID,DWORD,DWORD);
|
---|
154 | LONG WINAPI SHRegSetUSValueW(LPCWSTR,LPCWSTR,DWORD,LPVOID,DWORD,DWORD);
|
---|
155 | #define SHRegSetUSValue WINELIB_NAME_AW(SHRegSetUSValue)
|
---|
156 |
|
---|
157 | BOOL WINAPI SHRegGetBoolUSValueA(LPCSTR,LPCSTR,BOOL,BOOL);
|
---|
158 | BOOL WINAPI SHRegGetBoolUSValueW(LPCWSTR,LPCWSTR,BOOL,BOOL);
|
---|
159 | #define SHRegGetBoolUSValue WINELIB_NAME_AW(SHRegGetBoolUSValue)
|
---|
160 |
|
---|
161 | #endif /* NO_SHLWAPI_REG */
|
---|
162 |
|
---|
163 |
|
---|
164 | /* Path functions */
|
---|
165 | #ifndef NO_SHLWAPI_PATH
|
---|
166 |
|
---|
167 | /* GetPathCharType return flags */
|
---|
168 | #define GCT_INVALID 0x0
|
---|
169 | #define GCT_LFNCHAR 0x1
|
---|
170 | #define GCT_SHORTCHAR 0x2
|
---|
171 | #define GCT_WILD 0x4
|
---|
172 | #define GCT_SEPARATOR 0x8
|
---|
173 |
|
---|
174 | LPSTR WINAPI PathAddBackslashA(LPSTR);
|
---|
175 | LPWSTR WINAPI PathAddBackslashW(LPWSTR);
|
---|
176 | #define PathAddBackslash WINELIB_NAME_AW(PathAddBackslash)
|
---|
177 |
|
---|
178 | BOOL WINAPI PathAddExtensionA(LPSTR,LPCSTR);
|
---|
179 | BOOL WINAPI PathAddExtensionW(LPWSTR,LPCWSTR);
|
---|
180 | #define PathAddExtension WINELIB_NAME_AW(PathAddExtension)
|
---|
181 |
|
---|
182 | BOOL WINAPI PathAppendA(LPSTR,LPCSTR);
|
---|
183 | BOOL WINAPI PathAppendW(LPWSTR,LPCWSTR);
|
---|
184 | #define PathAppend WINELIB_NAME_AW(PathAppend)
|
---|
185 |
|
---|
186 | LPSTR WINAPI PathBuildRootA(LPSTR,int);
|
---|
187 | LPWSTR WINAPI PathBuildRootW(LPWSTR,int);
|
---|
188 | #define PathBuildRoot WINELIB_NAME_AW(PathBuiltRoot)
|
---|
189 |
|
---|
190 | BOOL WINAPI PathCanonicalizeA(LPSTR,LPCSTR);
|
---|
191 | BOOL WINAPI PathCanonicalizeW(LPWSTR,LPCWSTR);
|
---|
192 | #define PathCanonicalize WINELIB_NAME_AW(PathCanonicalize)
|
---|
193 |
|
---|
194 | LPSTR WINAPI PathCombineA(LPSTR,LPCSTR,LPCSTR);
|
---|
195 | LPWSTR WINAPI PathCombineW(LPWSTR,LPCWSTR,LPCWSTR);
|
---|
196 | #define PathCombine WINELIB_NAME_AW(PathCombine)
|
---|
197 |
|
---|
198 | BOOL WINAPI PathCompactPathA(HDC,LPSTR,UINT);
|
---|
199 | BOOL WINAPI PathCompactPathW(HDC,LPWSTR,UINT);
|
---|
200 | #define PathCompactPath WINELIB_NAME_AW(PathCompactPath)
|
---|
201 |
|
---|
202 | BOOL WINAPI PathCompactPathExA(LPSTR,LPCSTR,UINT,DWORD);
|
---|
203 | BOOL WINAPI PathCompactPathExW(LPWSTR,LPCWSTR,UINT,DWORD);
|
---|
204 | #define PathCompactPathEx WINELIB_NAME_AW(PathCompactPathEx)
|
---|
205 |
|
---|
206 | int WINAPI PathCommonPrefixA(LPCSTR,LPCSTR,LPSTR);
|
---|
207 | int WINAPI PathCommonPrefixW(LPCWSTR,LPCWSTR,LPWSTR);
|
---|
208 | #define PathCommonPrefix WINELIB_NAME_AW(PathCommonPrefix)
|
---|
209 |
|
---|
210 | BOOL WINAPI PathFileExistsA(LPCSTR);
|
---|
211 | BOOL WINAPI PathFileExistsW(LPCWSTR);
|
---|
212 | #define PathFileExists WINELIB_NAME_AW(PathFileExists)
|
---|
213 |
|
---|
214 | LPSTR WINAPI PathFindExtensionA(LPCSTR);
|
---|
215 | LPWSTR WINAPI PathFindExtensionW(LPCWSTR);
|
---|
216 | #define PathFindExtension WINELIB_NAME_AW(PathFindExtension)
|
---|
217 |
|
---|
218 | LPSTR WINAPI PathFindFileNameA(LPCSTR);
|
---|
219 | LPWSTR WINAPI PathFindFileNameW(LPCWSTR);
|
---|
220 | #define PathFindFileName WINELIB_NAME_AW(PathFindFileName)
|
---|
221 |
|
---|
222 | LPSTR WINAPI PathFindNextComponentA(LPCSTR);
|
---|
223 | LPWSTR WINAPI PathFindNextComponentW(LPCWSTR);
|
---|
224 | #define PathFindNextComponent WINELIB_NAME_AW(PathFindNextComponent)
|
---|
225 |
|
---|
226 | BOOL WINAPI PathFindOnPathA(LPSTR,LPCSTR*);
|
---|
227 | BOOL WINAPI PathFindOnPathW(LPWSTR,LPCWSTR*);
|
---|
228 | #define PathFindOnPath WINELIB_NAME_AW(PathFindOnPath)
|
---|
229 |
|
---|
230 | LPSTR WINAPI PathGetArgsA(LPCSTR);
|
---|
231 | LPWSTR WINAPI PathGetArgsW(LPCWSTR);
|
---|
232 | #define PathGetArgs WINELIB_NAME_AW(PathGetArgs)
|
---|
233 |
|
---|
234 | UINT WINAPI PathGetCharTypeA(UCHAR);
|
---|
235 | UINT WINAPI PathGetCharTypeW(WCHAR);
|
---|
236 | #define PathGetCharType WINELIB_NAME_AW(PathGetCharType)
|
---|
237 |
|
---|
238 | int WINAPI PathGetDriveNumberA(LPCSTR);
|
---|
239 | int WINAPI PathGetDriveNumberW(LPCWSTR);
|
---|
240 | #define PathGetDriveNumber WINELIB_NAME_AW(PathGetDriveNumber)
|
---|
241 |
|
---|
242 | BOOL WINAPI PathIsDirectoryA(LPCSTR);
|
---|
243 | BOOL WINAPI PathIsDirectoryW(LPCWSTR);
|
---|
244 | #define PathIsDirectory WINELIB_NAME_AW(PathIsDirectory)
|
---|
245 |
|
---|
246 | BOOL WINAPI PathIsDirectoryEmptyA(LPCSTR);
|
---|
247 | BOOL WINAPI PathIsDirectoryEmptyW(LPCWSTR);
|
---|
248 | #define PathIsDirectoryEmpty WINELIB_NAME_AW(PathIsDirectoryEmpty)
|
---|
249 |
|
---|
250 | BOOL WINAPI PathIsFileSpecA(LPCSTR);
|
---|
251 | BOOL WINAPI PathIsFileSpecW(LPCWSTR);
|
---|
252 | #define PathIsFileSpec WINELIB_NAME_AW(PathIsFileSpec);
|
---|
253 |
|
---|
254 | BOOL WINAPI PathIsPrefixA(LPCSTR,LPCSTR);
|
---|
255 | BOOL WINAPI PathIsPrefixW(LPCWSTR,LPCWSTR);
|
---|
256 | #define PathIsPrefix WINELIB_NAME_AW(PathIsPrefix)
|
---|
257 |
|
---|
258 | BOOL WINAPI PathIsRelativeA(LPCSTR);
|
---|
259 | BOOL WINAPI PathIsRelativeW(LPCWSTR);
|
---|
260 | #define PathIsRelative WINELIB_NAME_AW(PathIsRelative)
|
---|
261 |
|
---|
262 | BOOL WINAPI PathIsRootA(LPCSTR);
|
---|
263 | BOOL WINAPI PathIsRootW(LPCWSTR);
|
---|
264 | #define PathIsRoot WINELIB_NAME_AW(PathIsRoot)
|
---|
265 |
|
---|
266 | BOOL WINAPI PathIsSameRootA(LPCSTR,LPCSTR);
|
---|
267 | BOOL WINAPI PathIsSameRootW(LPCWSTR,LPCWSTR);
|
---|
268 | #define PathIsSameRoot WINELIB_NAME_AW(PathIsSameRoot)
|
---|
269 |
|
---|
270 | BOOL WINAPI PathIsUNCA(LPCSTR);
|
---|
271 | BOOL WINAPI PathIsUNCW(LPCWSTR);
|
---|
272 | #define PathIsUNC WINELIB_NAME_AW(PathIsUNC)
|
---|
273 |
|
---|
274 | BOOL WINAPI PathIsUNCServerA(LPCSTR);
|
---|
275 | BOOL WINAPI PathIsUNCServerW(LPCWSTR);
|
---|
276 | #define PathIsUNCServer WINELIB_NAME_AW(PathIsUNCServer)
|
---|
277 |
|
---|
278 | BOOL WINAPI PathIsUNCServerShareA(LPCSTR);
|
---|
279 | BOOL WINAPI PathIsUNCServerShareW(LPCWSTR);
|
---|
280 | #define PathIsUNCServerShare WINELIB_NAME_AW(PathIsUNCServerShare)
|
---|
281 |
|
---|
282 | BOOL WINAPI PathIsContentTypeA(LPCSTR,LPCSTR);
|
---|
283 | BOOL WINAPI PathIsContentTypeW(LPCWSTR,LPCWSTR);
|
---|
284 | #define PathIsContentType WINELIB_NAME_AW(PathIsContentType)
|
---|
285 |
|
---|
286 | BOOL WINAPI PathIsURLA(LPCSTR);
|
---|
287 | BOOL WINAPI PathIsURLW(LPCWSTR);
|
---|
288 | #define PathIsURL WINELIB_NAME_AW(PathIsURL)
|
---|
289 |
|
---|
290 | BOOL WINAPI PathMakePrettyA(LPSTR);
|
---|
291 | BOOL WINAPI PathMakePrettyW(LPWSTR);
|
---|
292 | #define PathMakePretty WINELIB_NAME_AW(PathMakePretty)
|
---|
293 |
|
---|
294 | BOOL WINAPI PathMatchSpecA(LPCSTR,LPCSTR);
|
---|
295 | BOOL WINAPI PathMatchSpecW(LPCWSTR,LPCWSTR);
|
---|
296 | #define PathMatchSpec WINELIB_NAME_AW(PathMatchSpec)
|
---|
297 |
|
---|
298 | int WINAPI PathParseIconLocationA(LPSTR);
|
---|
299 | int WINAPI PathParseIconLocationW(LPWSTR);
|
---|
300 | #define PathParseIconLocation WINELIB_NAME_AW(PathParseIconLocation)
|
---|
301 |
|
---|
302 | VOID WINAPI PathQuoteSpacesA(LPSTR);
|
---|
303 | VOID WINAPI PathQuoteSpacesW(LPWSTR);
|
---|
304 | #define PathQuoteSpaces WINELIB_NAME_AW(PathQuoteSpaces)
|
---|
305 |
|
---|
306 | BOOL WINAPI PathRelativePathToA(LPSTR,LPCSTR,DWORD,LPCSTR,DWORD);
|
---|
307 | BOOL WINAPI PathRelativePathToW(LPWSTR,LPCWSTR,DWORD,LPCWSTR,DWORD);
|
---|
308 | #define PathRelativePathTo WINELIB_NAME_AW(PathRelativePathTo)
|
---|
309 |
|
---|
310 | VOID WINAPI PathRemoveArgsA(LPSTR);
|
---|
311 | VOID WINAPI PathRemoveArgsW(LPWSTR);
|
---|
312 | #define PathRemoveArgs WINELIB_NAME_AW(PathRemoveArgs)
|
---|
313 |
|
---|
314 | LPSTR WINAPI PathRemoveBackslashA(LPSTR);
|
---|
315 | LPWSTR WINAPI PathRemoveBackslashW(LPWSTR);
|
---|
316 | #define PathRemoveBackslash WINELIB_NAME_AW(PathRemoveBackslash)
|
---|
317 |
|
---|
318 | VOID WINAPI PathRemoveBlanksA(LPSTR);
|
---|
319 | VOID WINAPI PathRemoveBlanksW(LPWSTR);
|
---|
320 | #define PathRemoveBlanks WINELIB_NAME_AW(PathRemoveBlanks)
|
---|
321 |
|
---|
322 | VOID WINAPI PathRemoveExtensionA(LPSTR);
|
---|
323 | VOID WINAPI PathRemoveExtensionW(LPWSTR);
|
---|
324 | #define PathRemoveExtension WINELIB_NAME_AW(PathRemoveExtension)
|
---|
325 |
|
---|
326 | BOOL WINAPI PathRemoveFileSpecA(LPSTR);
|
---|
327 | BOOL WINAPI PathRemoveFileSpecW(LPWSTR);
|
---|
328 | #define PathRemoveFileSpec WINELIB_NAME_AW(PathRemoveFileSpec)
|
---|
329 |
|
---|
330 | BOOL WINAPI PathRenameExtensionA(LPSTR,LPCSTR);
|
---|
331 | BOOL WINAPI PathRenameExtensionW(LPWSTR,LPCWSTR);
|
---|
332 | #define PathRenameExtension WINELIB_NAME_AW(PathRenameExtension)
|
---|
333 |
|
---|
334 | BOOL WINAPI PathSearchAndQualifyA(LPCSTR,LPSTR,UINT);
|
---|
335 | BOOL WINAPI PathSearchAndQualifyW(LPCWSTR,LPWSTR,UINT);
|
---|
336 | #define PathSearchAndQualify WINELIB_NAME_AW(PathSearchAndQualify)
|
---|
337 |
|
---|
338 | VOID WINAPI PathSetDlgItemPathA(HWND,int,LPCSTR);
|
---|
339 | VOID WINAPI PathSetDlgItemPathW(HWND,int,LPCWSTR);
|
---|
340 | #define PathSetDlgItemPath WINELIB_NAME_AW(PathSetDlgItemPath)
|
---|
341 |
|
---|
342 | LPSTR WINAPI PathSkipRootA(LPCSTR);
|
---|
343 | LPWSTR WINAPI PathSkipRootW(LPCWSTR);
|
---|
344 | #define PathSkipRoot WINELIB_NAME_AW(PathSkipRoot)
|
---|
345 |
|
---|
346 | VOID WINAPI PathStripPathA(LPSTR);
|
---|
347 | VOID WINAPI PathStripPathW(LPWSTR);
|
---|
348 | #define PathStripPath WINELIB_NAME_AW(PathStripPath)
|
---|
349 |
|
---|
350 | BOOL WINAPI PathStripToRootA(LPSTR);
|
---|
351 | BOOL WINAPI PathStripToRootW(LPWSTR);
|
---|
352 | #define PathStripToRoot WINELIB_NAME_AW(PathStripToRoot)
|
---|
353 |
|
---|
354 | VOID WINAPI PathUnquoteSpacesA(LPSTR);
|
---|
355 | VOID WINAPI PathUnquoteSpacesW(LPWSTR);
|
---|
356 | #define PathUnquoteSpaces WINELIB_NAME_AW(PathUnquoteSpaces)
|
---|
357 |
|
---|
358 | BOOL WINAPI PathMakeSystemFolderA(LPCSTR);
|
---|
359 | BOOL WINAPI PathMakeSystemFolderW(LPCWSTR);
|
---|
360 | #define PathMakeSystemFolder WINELIB_NAME_AW(PathMakeSystemFolder)
|
---|
361 |
|
---|
362 | BOOL WINAPI PathUnmakeSystemFolderA(LPCSTR);
|
---|
363 | BOOL WINAPI PathUnmakeSystemFolderW(LPCWSTR);
|
---|
364 | #define PathUnmakeSystemFolder WINELIB_NAME_AW(PathUnmakeSystemFolder)
|
---|
365 |
|
---|
366 | BOOL WINAPI PathIsSystemFolderA(LPCSTR,DWORD);
|
---|
367 | BOOL WINAPI PathIsSystemFolderW(LPCWSTR,DWORD);
|
---|
368 | #define PathIsSystemFolder WINELIB_NAME_AW(PathIsSystemFolder)
|
---|
369 |
|
---|
370 | BOOL WINAPI PathIsNetworkPathA(LPCSTR);
|
---|
371 | BOOL WINAPI PathIsNetworkPathW(LPCWSTR);
|
---|
372 | #define PathIsNetworkPath WINELIB_NAME_AW(PathIsNetworkPath)
|
---|
373 |
|
---|
374 | BOOL WINAPI PathIsLFNFileSpecA(LPCSTR);
|
---|
375 | BOOL WINAPI PathIsLFNFileSpecW(LPCWSTR);
|
---|
376 | #define PathIsLFNFileSpec WINELIB_NAME_AW(PathIsLFNFileSpec)
|
---|
377 |
|
---|
378 | int WINAPI PathFindSuffixArrayA(LPCSTR,LPCSTR *,int);
|
---|
379 | int WINAPI PathFindSuffixArrayW(LPCWSTR,LPCWSTR *,int);
|
---|
380 | #define PathFindSuffixArray WINELIB_NAME_AW(PathFindSuffixArray)
|
---|
381 |
|
---|
382 | VOID WINAPI PathUndecorateA(LPSTR);
|
---|
383 | VOID WINAPI PathUndecorateW(LPWSTR);
|
---|
384 | #define PathUndecorate WINELIB_NAME_AW(PathUndecorate)
|
---|
385 |
|
---|
386 | BOOL WINAPI PathUnExpandEnvStringsA(LPCSTR,LPSTR,UINT);
|
---|
387 | BOOL WINAPI PathUnExpandEnvStringsW(LPCWSTR,LPWSTR,UINT);
|
---|
388 | #define PathUnExpandEnvStrings WINELIB_NAME_AW(PathUnExpandEnvStrings)
|
---|
389 |
|
---|
390 | /* Url functions */
|
---|
391 |
|
---|
392 | /* These are used by UrlGetPart routine */
|
---|
393 | typedef enum {
|
---|
394 | URL_PART_NONE = 0,
|
---|
395 | URL_PART_SCHEME = 1,
|
---|
396 | URL_PART_HOSTNAME,
|
---|
397 | URL_PART_USERNAME,
|
---|
398 | URL_PART_PASSWORD,
|
---|
399 | URL_PART_PORT,
|
---|
400 | URL_PART_QUERY
|
---|
401 | } URL_PART;
|
---|
402 |
|
---|
403 | #define URL_PARTFLAG_KEEPSCHEME 0x00000001
|
---|
404 |
|
---|
405 | /* These are used by the UrlIs... routines */
|
---|
406 | typedef enum {
|
---|
407 | URLIS_URL,
|
---|
408 | URLIS_OPAQUE,
|
---|
409 | URLIS_NOHISTORY,
|
---|
410 | URLIS_FILEURL,
|
---|
411 | URLIS_APPLIABLE,
|
---|
412 | URLIS_DIRECTORY,
|
---|
413 | URLIS_HASQUERY
|
---|
414 | } URLIS;
|
---|
415 |
|
---|
416 | /* This is used by the UrlApplyScheme... routines */
|
---|
417 | #define URL_APPLY_FORCEAPPLY 0x00000008
|
---|
418 | #define URL_APPLY_GUESSFILE 0x00000004
|
---|
419 | #define URL_APPLY_GUESSSCHEME 0x00000002
|
---|
420 | #define URL_APPLY_DEFAULT 0x00000001
|
---|
421 |
|
---|
422 | /* The following are used by UrlEscape..., UrlUnEscape...,
|
---|
423 | * UrlCanonicalize..., and UrlCombine... routines
|
---|
424 | */
|
---|
425 | #define URL_WININET_COMPATIBILITY 0x80000000
|
---|
426 | #define URL_PLUGGABLE_PROTOCOL 0x40000000
|
---|
427 | #define URL_ESCAPE_UNSAFE 0x20000000
|
---|
428 | #define URL_UNESCAPE 0x10000000
|
---|
429 |
|
---|
430 | #define URL_DONT_SIMPLIFY 0x08000000
|
---|
431 | #define URL_NO_META URL_DONT_SIMPLIFY
|
---|
432 | #define URL_ESCAPE_SPACES_ONLY 0x04000000
|
---|
433 | #define URL_DONT_ESCAPE_EXTRA_INFO 0x02000000
|
---|
434 | #define URL_DONT_UNESCAPE_EXTRA_INFO URL_DONT_ESCAPE_EXTRA_INFO
|
---|
435 | #define URL_BROWSER_MODE URL_DONT_ESCAPE_EXTRA_INFO
|
---|
436 |
|
---|
437 | #define URL_INTERNAL_PATH 0x00800000 /* Will escape #'s in paths */
|
---|
438 | #define URL_UNESCAPE_HIGH_ANSI_ONLY 0x00400000
|
---|
439 | #define URL_CONVERT_IF_DOSPATH 0x00200000
|
---|
440 | #define URL_UNESCAPE_INPLACE 0x00100000
|
---|
441 |
|
---|
442 | #define URL_FILE_USE_PATHURL 0x00010000
|
---|
443 |
|
---|
444 | #define URL_ESCAPE_SEGMENT_ONLY 0x00002000
|
---|
445 | #define URL_ESCAPE_PERCENT 0x00001000
|
---|
446 |
|
---|
447 | HRESULT WINAPI UrlApplySchemeA(LPCSTR,LPSTR,LPDWORD,DWORD);
|
---|
448 | HRESULT WINAPI UrlApplySchemeW(LPCWSTR,LPWSTR,LPDWORD,DWORD);
|
---|
449 | #define UrlApplyScheme WINELIB_NAME_AW(UrlApplyScheme)
|
---|
450 |
|
---|
451 | HRESULT WINAPI UrlCanonicalizeA(LPCSTR,LPSTR,LPDWORD,DWORD);
|
---|
452 | HRESULT WINAPI UrlCanonicalizeW(LPCWSTR,LPWSTR,LPDWORD,DWORD);
|
---|
453 | #define UrlCanonicalize WINELIB_NAME_AW(UrlCanoncalize)
|
---|
454 |
|
---|
455 | HRESULT WINAPI UrlCombineA(LPCSTR,LPCSTR,LPSTR,LPDWORD,DWORD);
|
---|
456 | HRESULT WINAPI UrlCombineW(LPCWSTR,LPCWSTR,LPWSTR,LPDWORD,DWORD);
|
---|
457 | #define UrlCombine WINELIB_NAME_AW(UrlCombine)
|
---|
458 |
|
---|
459 | INT WINAPI UrlCompareA(LPCSTR,LPCSTR,BOOL);
|
---|
460 | INT WINAPI UrlCompareW(LPCWSTR,LPCWSTR,BOOL);
|
---|
461 | #define UrlCompare WINELIB_NAME_AW(UrlCompare)
|
---|
462 |
|
---|
463 | HRESULT WINAPI UrlEscapeA(LPCSTR,LPSTR,LPDWORD,DWORD);
|
---|
464 | HRESULT WINAPI UrlEscapeW(LPCWSTR,LPWSTR,LPDWORD,DWORD);
|
---|
465 | #define UrlEscape WINELIB_NAME_AW(UrlEscape)
|
---|
466 |
|
---|
467 | #define UrlEscapeSpacesA(x,y,z) UrlCanonicalizeA(x, y, z, \
|
---|
468 | URL_DONT_ESCAPE_EXTRA_INFO|URL_ESCAPE_SPACES_ONLY)
|
---|
469 | #define UrlEscapeSpacesW(x,y,z) UrlCanonicalizeW(x, y, z, \
|
---|
470 | URL_DONT_ESCAPE_EXTRA_INFO|URL_ESCAPE_SPACES_ONLY)
|
---|
471 | #define UrlEscapeSpaces WINELIB_NAME_AW(UrlEscapeSpaces)
|
---|
472 |
|
---|
473 | LPCSTR WINAPI UrlGetLocationA(LPCSTR);
|
---|
474 | LPCWSTR WINAPI UrlGetLocationW(LPCWSTR);
|
---|
475 | #define UrlGetLocation WINELIB_NAME_AW(UrlGetLocation)
|
---|
476 |
|
---|
477 | HRESULT WINAPI UrlGetPartA(LPCSTR,LPSTR,LPDWORD,DWORD,DWORD);
|
---|
478 | HRESULT WINAPI UrlGetPartW(LPCWSTR,LPWSTR,LPDWORD,DWORD,DWORD);
|
---|
479 | #define UrlGetPart WINELIB_NAME_AW(UrlGetPart)
|
---|
480 |
|
---|
481 | BOOL WINAPI HashData(const unsigned char *,INT,unsigned char *lpDest,INT);
|
---|
482 |
|
---|
483 | HRESULT WINAPI UrlHashA(LPCSTR,unsigned char *,INT);
|
---|
484 | HRESULT WINAPI UrlHashW(LPCWSTR,unsigned char *,INT);
|
---|
485 | #define UrlHash WINELIB_NAME_AW(UrlHash)
|
---|
486 |
|
---|
487 | BOOL WINAPI UrlIsA(LPCSTR,URLIS);
|
---|
488 | BOOL WINAPI UrlIsW(LPCWSTR,URLIS);
|
---|
489 | #define UrlIs WINELIB_NAME_AW(UrlIs)
|
---|
490 |
|
---|
491 | BOOL WINAPI UrlIsNoHistoryA(LPCSTR);
|
---|
492 | BOOL WINAPI UrlIsNoHistoryW(LPCWSTR);
|
---|
493 | #define UrlIsNoHistory WINELIB_NAME_AW(UrlIsNoHistory)
|
---|
494 |
|
---|
495 | BOOL WINAPI UrlIsOpaqueA(LPCSTR);
|
---|
496 | BOOL WINAPI UrlIsOpaqueW(LPCWSTR);
|
---|
497 | #define UrlIsOpaque WINELIB_NAME_AW(UrlIsOpaque)
|
---|
498 |
|
---|
499 | #define UrlIsFileUrlA(x) UrlIsA(x, URLIS_FILEURL)
|
---|
500 | #define UrlIsFileUrlW(y) UrlIsW(x, URLIS_FILEURL)
|
---|
501 | #define UrlIsFileUrl WINELIB_NAME_AW(UrlIsFileUrl)
|
---|
502 |
|
---|
503 | HRESULT WINAPI UrlUnescapeA(LPCSTR,LPSTR,LPDWORD,DWORD);
|
---|
504 | HRESULT WINAPI UrlUnescapeW(LPCWSTR,LPWSTR,LPDWORD,DWORD);
|
---|
505 | #define UrlUnescape WINELIB_AW_NAME(UrlUnescape)
|
---|
506 |
|
---|
507 | #define UrlUnescapeInPlaceA(x,y) UrlUnescapeA(x, NULL, NULL, \
|
---|
508 | y | URL_UNESCAPE_INPLACE)
|
---|
509 | #define UrlUnescapeInPlaceW(x,y) UrlUnescapeW(x, NULL, NULL, \
|
---|
510 | y | URL_UNESCAPE_INPLACE)
|
---|
511 | #define UrlUnescapeInPlace WINELIB_AW_NAME(UrlUnescapeInPlace)
|
---|
512 |
|
---|
513 | HRESULT WINAPI UrlCreateFromPathA(LPCSTR,LPSTR,LPDWORD,DWORD);
|
---|
514 | HRESULT WINAPI UrlCreateFromPathW(LPCWSTR,LPWSTR,LPDWORD,DWORD);
|
---|
515 | #define UrlCreateFromPath WINELIB_AW_NAME(UrlCreateFromPath)
|
---|
516 |
|
---|
517 | #endif /* NO_SHLWAPI_PATH */
|
---|
518 |
|
---|
519 |
|
---|
520 | /* String functions */
|
---|
521 | #ifndef NO_SHLWAPI_STRFCNS
|
---|
522 |
|
---|
523 | /* StrToIntEx flags */
|
---|
524 | #define STIF_DEFAULT 0x0L
|
---|
525 | #define STIF_SUPPORT_HEX 0x1L
|
---|
526 |
|
---|
527 | BOOL WINAPI ChrCmpIA (WORD w1, WORD w2);
|
---|
528 | BOOL WINAPI ChrCmpIW (WCHAR w1, WCHAR w2);
|
---|
529 | #define ChrCmpI WINELIB_NAME_AW(ChrCmpI)
|
---|
530 |
|
---|
531 | INT WINAPI StrCSpnA(LPCSTR,LPCSTR);
|
---|
532 | INT WINAPI StrCSpnW(LPCWSTR,LPCWSTR);
|
---|
533 | #define StrCSpn WINELIB_NAME_AW(StrCSpn)
|
---|
534 |
|
---|
535 | INT WINAPI StrCSpnIA(LPCSTR,LPCSTR);
|
---|
536 | INT WINAPI StrCSpnIW(LPCWSTR,LPCWSTR);
|
---|
537 | #define StrCSpnI WINELIB_NAME_AW(StrCSpnI)
|
---|
538 |
|
---|
539 | #define StrCatA lstrcatA
|
---|
540 | LPWSTR WINAPI StrCatW(LPWSTR,LPCWSTR);
|
---|
541 | #define StrCat WINELIB_NAME_AW(StrCat)
|
---|
542 |
|
---|
543 | LPSTR WINAPI StrCatBuffA(LPSTR,LPCSTR,INT);
|
---|
544 | LPWSTR WINAPI StrCatBuffW(LPWSTR,LPCWSTR,INT);
|
---|
545 | #define StrCatBuff WINELIB_NAME_AW(StrCatBuff)
|
---|
546 |
|
---|
547 | LPSTR WINAPI StrChrA(LPCSTR,WORD);
|
---|
548 | LPWSTR WINAPI StrChrW(LPCWSTR,WCHAR);
|
---|
549 | #define StrChr WINELIB_NAME_AW(StrChr)
|
---|
550 |
|
---|
551 | LPSTR WINAPI StrChrIA(LPCSTR,CHAR);
|
---|
552 | LPWSTR WINAPI StrChrIW(LPCWSTR,WCHAR);
|
---|
553 | #define StrChrI WINELIB_NAME_AW(StrChrI)
|
---|
554 |
|
---|
555 | #define StrCmpA lstrcmpA
|
---|
556 | int WINAPI StrCmpW(LPCWSTR,LPCWSTR);
|
---|
557 | #define StrCmp WINELIB_NAME_AW(StrCmp)
|
---|
558 |
|
---|
559 | #define StrCmpIA lstrcmpiA
|
---|
560 | int WINAPI StrCmpIW(LPCWSTR,LPCWSTR);
|
---|
561 | #define StrCmpI WINELIB_NAME_AW(StrCmpI)
|
---|
562 |
|
---|
563 | #define StrCpyA lstrcpyA
|
---|
564 | LPWSTR WINAPI StrCpyW(LPWSTR,LPCWSTR);
|
---|
565 | #define StrCpy WINELIB_NAME_AW(StrCpy)
|
---|
566 |
|
---|
567 | #define StrCpyNA lstrcpynA
|
---|
568 | LPWSTR WINAPI StrCpyNW(LPWSTR,LPCWSTR,int);
|
---|
569 | #define StrCpyN WINELIB_NAME_AW(StrCpyN)
|
---|
570 | #define StrNCpy WINELIB_NAME_AW(StrCpyN)
|
---|
571 |
|
---|
572 | INT WINAPI StrCmpNA(LPCSTR,LPCSTR,INT);
|
---|
573 | INT WINAPI StrCmpNW(LPCWSTR,LPCWSTR,INT);
|
---|
574 | #define StrCmpN WINELIB_NAME_AW(StrCmpN)
|
---|
575 | #define StrNCmp WINELIB_NAME_AW(StrCmpN)
|
---|
576 |
|
---|
577 | INT WINAPI StrCmpNIA(LPCSTR,LPCSTR,INT);
|
---|
578 | INT WINAPI StrCmpNIW(LPCWSTR,LPCWSTR,INT);
|
---|
579 | #define StrCmpNI WINELIB_NAME_AW(StrCmpNI)
|
---|
580 | #define StrNCmpI WINELIB_NAME_AW(StrCmpNI)
|
---|
581 |
|
---|
582 | LPSTR WINAPI StrDupA(LPCSTR);
|
---|
583 | LPWSTR WINAPI StrDupW(LPCWSTR);
|
---|
584 | #define StrDup WINELIB_NAME_AW(StrDup)
|
---|
585 |
|
---|
586 | LPSTR WINAPI StrFormatByteSizeA (DWORD,LPSTR,UINT);
|
---|
587 | LPWSTR WINAPI StrFormatByteSizeW (DWORD,LPWSTR,UINT);
|
---|
588 | #define StrFormatByteSize WINELIB_NAME_AW(StrFormatByteSize)
|
---|
589 |
|
---|
590 | int WINAPI StrFromTimeIntervalA(LPSTR,UINT,DWORD,int);
|
---|
591 | int WINAPI StrFromTimeIntervalW(LPWSTR,UINT,DWORD,int);
|
---|
592 | #define StrFromTimeInterval WINELIB_NAME_AW(StrFromTimeInterval)
|
---|
593 |
|
---|
594 | BOOL WINAPI StrIsIntlEqualA(BOOL,LPCSTR,LPCSTR,int);
|
---|
595 | BOOL WINAPI StrIsIntlEqualW(BOOL,LPCWSTR,LPCWSTR,int);
|
---|
596 | #define StrIsIntlEqual WINELIB_NAME_AW(StrIsIntlEqual)
|
---|
597 |
|
---|
598 | #define StrIntlEqNA(a,b,c) StrIsIntlEqualA(TRUE,a,b,c)
|
---|
599 | #define StrIntlEqNW(a,b,c) StrIsIntlEqualW(TRUE,a,b,c)
|
---|
600 |
|
---|
601 | #define StrIntlEqNIA(a,b,c) StrIsIntlEqualA(FALSE,a,b,c)
|
---|
602 | #define StrIntlEqNIW(a,b,c) StrIsIntlEqualW(FALSE,a,b,c)
|
---|
603 |
|
---|
604 | LPSTR WINAPI StrNCatA(LPSTR,LPCSTR,int);
|
---|
605 | LPWSTR WINAPI StrNCatW(LPWSTR,LPCWSTR,int);
|
---|
606 | #define StrNCat WINELIB_NAME_AW(StrNCat)
|
---|
607 | #define StrCatN WINELIB_NAME_AW(StrNCat)
|
---|
608 |
|
---|
609 | LPSTR WINAPI StrPBrkA(LPCSTR,LPCSTR);
|
---|
610 | LPWSTR WINAPI StrPBrkW(LPCWSTR,LPCWSTR);
|
---|
611 | #define StrPBrk WINELIB_NAME_AW(StrPBrk)
|
---|
612 |
|
---|
613 | LPSTR WINAPI StrRChrA(LPCSTR,LPCSTR,WORD);
|
---|
614 | LPWSTR WINAPI StrRChrW(LPCWSTR,LPCWSTR,WORD);
|
---|
615 | #define StrRChr WINELIB_NAME_AW(StrRChr)
|
---|
616 |
|
---|
617 | LPSTR WINAPI StrRChrIA(LPCSTR,LPCSTR,WORD);
|
---|
618 | LPWSTR WINAPI StrRChrIW(LPCWSTR,LPCWSTR,WORD);
|
---|
619 | #define StrRChrI WINELIB_NAME_AW(StrRChrI)
|
---|
620 |
|
---|
621 | LPSTR WINAPI StrRStrIA(LPCSTR,LPCSTR,LPCSTR);
|
---|
622 | LPWSTR WINAPI StrRStrIW(LPCWSTR,LPCWSTR,LPCWSTR);
|
---|
623 | #define StrRStrI WINELIB_NAME_AW(StrRStrI)
|
---|
624 |
|
---|
625 | int WINAPI StrSpnA(LPCSTR,LPCSTR);
|
---|
626 | int WINAPI StrSpnW(LPCWSTR,LPCWSTR);
|
---|
627 | #define StrSpn WINELIB_NAME_AW(StrSpn)
|
---|
628 |
|
---|
629 | LPSTR WINAPI StrStrA(LPCSTR,LPCSTR);
|
---|
630 | LPWSTR WINAPI StrStrW(LPCWSTR,LPCWSTR);
|
---|
631 | #define StrStr WINELIB_NAME_AW(StrStr)
|
---|
632 |
|
---|
633 | LPSTR WINAPI StrStrIA(LPCSTR,LPCSTR);
|
---|
634 | LPWSTR WINAPI StrStrIW(LPCWSTR,LPCWSTR);
|
---|
635 | #define StrStrI WINELIB_NAME_AW(StrStrI)
|
---|
636 |
|
---|
637 | int WINAPI StrToIntA(LPCSTR);
|
---|
638 | int WINAPI StrToIntW(LPCWSTR);
|
---|
639 | #define StrToInt WINELIB_NAME_AW(StrToInt)
|
---|
640 | #define StrToLong WINELIB_NAME_AW(StrToInt)
|
---|
641 |
|
---|
642 | BOOL WINAPI StrToIntExA(LPCSTR,DWORD,int*);
|
---|
643 | BOOL WINAPI StrToIntExW(LPCWSTR,DWORD,int*);
|
---|
644 | #define StrToIntEx WINELIB_NAME_AW(StrToIntEx)
|
---|
645 |
|
---|
646 | BOOL WINAPI StrTrimA(LPSTR,LPCSTR);
|
---|
647 | BOOL WINAPI StrTrimW(LPWSTR,LPCWSTR);
|
---|
648 | #define StrTrim WINELIB_NAME_AW(StrTrim)
|
---|
649 |
|
---|
650 | INT WINAPI wvnsprintfA(LPSTR lpOut, INT cchLimitIn, LPCSTR lpFmt, va_list arglist);
|
---|
651 | INT WINAPI wvnsprintfW(LPWSTR lpOut, INT cchLimitIn, LPCWSTR lpFmt, va_list arglist);
|
---|
652 | #define wvnsprintf WINELIB_NAME_AW(wvnsprintf)
|
---|
653 |
|
---|
654 | INT WINAPIV wnsprintfA(LPSTR lpOut, INT cchLimitIn, LPCSTR lpFmt, ...);
|
---|
655 | INT WINAPIV wnsprintfW(LPWSTR lpOut, INT cchLimitIn, LPCWSTR lpFmt, ...);
|
---|
656 | #define wnsprintf WINELIB_NAME_AW(wnsprintf)
|
---|
657 |
|
---|
658 | /* Undocumented */
|
---|
659 | HRESULT WINAPI StrRetToBufA (LPSTRRET src, const ITEMIDLIST *pidl, LPSTR dest, DWORD len);
|
---|
660 | HRESULT WINAPI StrRetToBufW (LPSTRRET src, const ITEMIDLIST *pidl, LPWSTR dest, DWORD len);
|
---|
661 | #define StrRetToBuf WINELIB_NAME_AW(StrRetToBuf)
|
---|
662 |
|
---|
663 | #endif /* NO_SHLWAPI_STRFCNS */
|
---|
664 |
|
---|
665 |
|
---|
666 | /* GDI functions */
|
---|
667 | #ifndef NO_SHLWAPI_GDI
|
---|
668 |
|
---|
669 | HPALETTE WINAPI SHCreateShellPalette(HDC);
|
---|
670 |
|
---|
671 | COLORREF WINAPI ColorHLSToRGB(WORD,WORD,WORD);
|
---|
672 |
|
---|
673 | COLORREF WINAPI ColorAdjustLuma(COLORREF,int,BOOL);
|
---|
674 |
|
---|
675 | VOID WINAPI ColorRGBToHLS(COLORREF,LPWORD,LPWORD,LPWORD);
|
---|
676 |
|
---|
677 | #endif /* NO_SHLWAPI_GDI */
|
---|
678 |
|
---|
679 |
|
---|
680 | /* Stream functions */
|
---|
681 | #ifdef SHLWAPI_STREAM
|
---|
682 |
|
---|
683 | IStream * WINAPI SHOpenRegStreamA(HKEY,LPCSTR,LPCSTR,DWORD);
|
---|
684 | IStream * WINAPI SHOpenRegStreamW(HKEY,LPCWSTR,LPCWSTR,DWORD);
|
---|
685 | #define SHOpenRegStream WINELIB_NAME_AW(SHOpenRegStream)
|
---|
686 |
|
---|
687 | IStream * WINAPI SHOpenRegStream2A(HKEY,LPCSTR,LPCSTR,DWORD);
|
---|
688 | IStream * WINAPI SHOpenRegStream2W(HKEY,LPCWSTR,LPCWSTR,DWORD);
|
---|
689 | #define SHOpenRegStream2 WINELIB_NAME_AW(SHOpenRegStream2)
|
---|
690 |
|
---|
691 | #endif /* SHLWAPI_STREAM */
|
---|
692 |
|
---|
693 |
|
---|
694 | /* Version Information */
|
---|
695 | #ifndef __WIN32OS2__
|
---|
696 | typedef struct _DllVersionInfo {
|
---|
697 | DWORD cbSize;
|
---|
698 | DWORD dwMajorVersion;
|
---|
699 | DWORD dwMinorVersion;
|
---|
700 | DWORD dwBuildNumber;
|
---|
701 | DWORD dwPlatformID;
|
---|
702 | } DLLVERSIONINFO;
|
---|
703 | #endif
|
---|
704 |
|
---|
705 | #define DLLVER_PLATFORM_WINDOWS 0x01 /* Win9x */
|
---|
706 | #define DLLVER_PLATFORM_NT 0x02 /* WinNT */
|
---|
707 |
|
---|
708 | typedef HRESULT (* CALLBACK DLLGETVERSIONPROC)(DLLVERSIONINFO *);
|
---|
709 |
|
---|
710 | #ifdef __cplusplus
|
---|
711 | } /* extern "C" */
|
---|
712 | #endif /* defined(__cplusplus) */
|
---|
713 |
|
---|
714 | #endif /* __WINE_SHLWAPI_H */
|
---|