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