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