ReactOS 0.4.15-dev-8231-g29a56f3
shlwapi.h
Go to the documentation of this file.
1/*
2 * SHLWAPI.DLL functions
3 *
4 * Copyright (C) 2000 Juergen Schmied
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21#ifndef __WINE_SHLWAPI_H
22#define __WINE_SHLWAPI_H
23
24#include <specstrings.h>
25#include <objbase.h>
26#include <shtypes.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif /* defined(__cplusplus) */
31
32#include <pshpack8.h>
33
34#ifndef NO_SHLWAPI_REG
35
36/* Registry functions */
37
40#define SHDeleteEmptyKey WINELIB_NAME_AW(SHDeleteEmptyKey)
41
44#define SHDeleteKey WINELIB_NAME_AW(SHDeleteKey)
45
48#define SHDeleteValue WINELIB_NAME_AW(SHDeleteValue)
49
53 _In_ HKEY,
59
63 _In_ HKEY,
69
70#define SHGetValue WINELIB_NAME_AW(SHGetValue)
71
75 _In_ HKEY,
78 _In_ DWORD,
80 _In_ DWORD cbData);
81
85 _In_ HKEY,
88 _In_ DWORD,
90 _In_ DWORD cbData);
91
92#define SHSetValue WINELIB_NAME_AW(SHSetValue)
93
97 _In_ HKEY,
103
104DWORD
105WINAPI
107 _In_ HKEY,
113
114#define SHQueryValueEx WINELIB_NAME_AW(SHQueryValueEx)
115
116LONG
117WINAPI
119 _In_ HKEY,
120 _In_ DWORD,
121 _Out_writes_(*pcchName) LPSTR,
122 _Inout_ LPDWORD pcchName);
123
124LONG
125WINAPI
127 _In_ HKEY,
128 _In_ DWORD,
129 _Out_writes_(*pcchName) LPWSTR,
130 _Inout_ LPDWORD pcchName);
131
132#define SHEnumKeyEx WINELIB_NAME_AW(SHEnumKeyEx)
133
134LONG
135WINAPI
137 _In_ HKEY,
138 _In_ DWORD,
139 _Out_writes_opt_(*pcchValueName) LPSTR,
140 _Inout_opt_ LPDWORD pcchValueName,
144
145LONG
146WINAPI
148 _In_ HKEY,
149 _In_ DWORD,
150 _Out_writes_opt_(*pcchValueName) LPWSTR,
151 _Inout_opt_ LPDWORD pcchValueName,
155
156#define SHEnumValue WINELIB_NAME_AW(SHEnumValue)
157
158LONG
159WINAPI
161 _In_ HKEY,
166
167LONG
168WINAPI
170 _In_ HKEY,
175
176#define SHQueryInfoKey WINELIB_NAME_AW(SHQueryInfoKey)
177
178DWORD
179WINAPI
181 _In_ HKEY,
185 _In_ DWORD);
186
187DWORD
188WINAPI
190 _In_ HKEY,
194 _In_ DWORD);
195
196#define SHRegGetPath WINELIB_NAME_AW(SHRegGetPath)
197
198DWORD
199WINAPI
201 _In_ HKEY,
204 _In_ LPCSTR,
205 _In_ DWORD);
206
207DWORD
208WINAPI
210 _In_ HKEY,
214 _In_ DWORD);
215
216#define SHRegSetPath WINELIB_NAME_AW(SHRegSetPath)
217
218DWORD
219WINAPI
221 _In_ HKEY,
223 _In_ HKEY,
225
226DWORD
227WINAPI
229 _In_ HKEY,
231 _In_ HKEY,
233
234#define SHCopyKey WINELIB_NAME_AW(SHCopyKey)
235
237
238/* SHRegGetValue flags */
239typedef INT SRRF;
240
241#define SRRF_RT_REG_NONE 0x1
242#define SRRF_RT_REG_SZ 0x2
243#define SRRF_RT_REG_EXPAND_SZ 0x4
244#define SRRF_RT_REG_BINARY 0x8
245#define SRRF_RT_REG_DWORD 0x10
246#define SRRF_RT_REG_MULTI_SZ 0x20
247#define SRRF_RT_REG_QWORD 0x40
248
249#define SRRF_RT_DWORD (SRRF_RT_REG_BINARY|SRRF_RT_REG_DWORD)
250#define SRRF_RT_QWORD (SRRF_RT_REG_BINARY|SRRF_RT_REG_QWORD)
251#define SRRF_RT_ANY 0xffff
252
253#define SRRF_RM_ANY 0
254#define SRRF_RM_NORMAL 0x10000
255#define SRRF_RM_SAFE 0x20000
256#define SRRF_RM_SAFENETWORK 0x40000
257
258#define SRRF_NOEXPAND 0x10000000
259#define SRRF_ZEROONFAILURE 0x20000000
260#define SRRF_NOVIRT 0x40000000
261
263WINAPI
265 _In_ HKEY hkey,
266 _In_opt_ LPCSTR pszSubKey,
267 _In_opt_ LPCSTR pszValue,
268 _In_ SRRF srrfFlags,
269 _Out_opt_ LPDWORD pdwType,
272
274WINAPI
276 _In_ HKEY hkey,
277 _In_opt_ LPCWSTR pszSubKey,
278 _In_opt_ LPCWSTR pszValue,
279 _In_ SRRF srrfFlags,
280 _Out_opt_ LPDWORD pdwType,
283
284#define SHRegGetValue WINELIB_NAME_AW(SHRegGetValue)
285
286/* Undocumented registry functions */
287
290#define SHDeleteOrphanKey WINELIB_NAME_AW(SHDeleteOrphanKey)
291
292
293/* User registry functions */
294
295typedef enum
296{
302
303typedef enum
304{
310
311#define SHREGSET_HKCU 0x1 /* Apply to HKCU if empty */
312#define SHREGSET_FORCE_HKCU 0x2 /* Always apply to HKCU */
313#define SHREGSET_HKLM 0x4 /* Apply to HKLM if empty */
314#define SHREGSET_FORCE_HKLM 0x8 /* Always apply to HKLM */
315#define SHREGSET_DEFAULT (SHREGSET_FORCE_HKCU | SHREGSET_HKLM)
316
319
320LONG
321WINAPI
323 _In_ LPCSTR,
324 _In_ REGSAM,
327 _In_ DWORD);
328
329LONG
330WINAPI
333 _In_ REGSAM,
336 _In_ DWORD);
337
338#define SHRegCreateUSKey WINELIB_NAME_AW(SHRegCreateUSKey)
339
340LONG
341WINAPI
343 _In_ LPCSTR,
344 _In_ REGSAM,
347 _In_ BOOL);
348
349LONG
350WINAPI
353 _In_ REGSAM,
356 _In_ BOOL);
357
358#define SHRegOpenUSKey WINELIB_NAME_AW(SHRegOpenUSKey)
359
360LONG
361WINAPI
363 _In_ HUSKEY,
368 _In_ BOOL,
369 _In_reads_bytes_opt_(dwDefaultDataSize) LPVOID,
370 _In_opt_ DWORD dwDefaultDataSize);
371
372LONG
373WINAPI
375 _In_ HUSKEY,
380 _In_ BOOL,
381 _In_reads_bytes_opt_(dwDefaultDataSize) LPVOID,
382 _In_opt_ DWORD dwDefaultDataSize);
383
384#define SHRegQueryUSValue WINELIB_NAME_AW(SHRegQueryUSValue)
385
386LONG
387WINAPI
389 _In_ HUSKEY,
390 _In_ LPCSTR,
391 _In_ DWORD,
392 _In_reads_bytes_(cbData) LPVOID,
393 _In_ DWORD cbData,
394 _In_ DWORD);
395
396LONG
397WINAPI
399 _In_ HUSKEY,
401 _In_ DWORD,
402 _In_reads_bytes_(cbData) LPVOID,
403 _In_ DWORD cbData,
404 _In_ DWORD);
405
406#define SHRegWriteUSValue WINELIB_NAME_AW(SHRegWriteUSValue)
407
408LONG
409WINAPI
411 _In_ HUSKEY,
412 _In_ LPCSTR,
414
415LONG
416WINAPI
418 _In_ HUSKEY,
421
422#define SHRegDeleteUSValue WINELIB_NAME_AW(SHRegDeleteUSValue)
423
424LONG
425WINAPI
427 _In_ HUSKEY,
428 _In_ LPCSTR,
430
431LONG
432WINAPI
434 _In_ HUSKEY,
437
438#define SHRegDeleteEmptyUSKey WINELIB_NAME_AW(SHRegDeleteEmptyUSKey)
439
440LONG
441WINAPI
443 _In_ HUSKEY,
444 _In_ DWORD,
445 _Out_writes_to_(*pcchName, *pcchName) LPSTR,
446 _Inout_ LPDWORD pcchName,
448
449LONG
450WINAPI
452 _In_ HUSKEY,
453 _In_ DWORD,
454 _Out_writes_to_(*pcchName, *pcchName) LPWSTR,
455 _Inout_ LPDWORD pcchName,
457
458#define SHRegEnumUSKey WINELIB_NAME_AW(SHRegEnumUSKey)
459
460LONG
461WINAPI
463 _In_ HUSKEY,
464 _In_ DWORD,
465 _Out_writes_to_(*pcchValueName, *pcchValueName) LPSTR,
466 _Inout_ LPDWORD pcchValueName,
471
472LONG
473WINAPI
475 _In_ HUSKEY,
476 _In_ DWORD,
477 _Out_writes_to_(*pcchValueName, *pcchValueName) LPWSTR,
478 _Inout_ LPDWORD pcchValueName,
483
484#define SHRegEnumUSValue WINELIB_NAME_AW(SHRegEnumUSValue)
485
486LONG
487WINAPI
489 _In_ HUSKEY,
495
496LONG
497WINAPI
499 _In_ HUSKEY,
505
506#define SHRegQueryInfoUSKey WINELIB_NAME_AW(SHRegQueryInfoUSKey)
507
509
510LONG
511WINAPI
513 _In_ LPCSTR,
518 _In_ BOOL,
519 _In_reads_bytes_opt_(dwDefaultDataSize) LPVOID,
520 _In_ DWORD dwDefaultDataSize);
521
522LONG
523WINAPI
530 _In_ BOOL,
531 _In_reads_bytes_opt_(dwDefaultDataSize) LPVOID,
532 _In_ DWORD dwDefaultDataSize);
533
534#define SHRegGetUSValue WINELIB_NAME_AW(SHRegGetUSValue)
535
536LONG
537WINAPI
539 _In_ LPCSTR,
540 _In_ LPCSTR,
541 _In_ DWORD,
543 _In_opt_ DWORD cbData,
545
546LONG
547WINAPI
551 _In_ DWORD,
553 _In_opt_ DWORD cbData,
555
556#define SHRegSetUSValue WINELIB_NAME_AW(SHRegSetUSValue)
557
558BOOL
559WINAPI
561 _In_ LPCSTR,
563 _In_ BOOL,
564 _In_ BOOL);
565
566BOOL
567WINAPI
571 _In_ BOOL,
572 _In_ BOOL);
573
574#define SHRegGetBoolUSValue WINELIB_NAME_AW(SHRegGetBoolUSValue)
575
577
578/* IQueryAssociation and helpers */
579enum
580{
581 ASSOCF_NONE = 0x0000,
582 ASSOCF_INIT_NOREMAPCLSID = 0x0001, /* Don't map clsid->progid */
583 ASSOCF_INIT_BYEXENAME = 0x0002, /* .exe name given */
584 ASSOCF_OPEN_BYEXENAME = 0x0002, /* Synonym */
585 ASSOCF_INIT_DEFAULTTOSTAR = 0x0004, /* Use * as base */
586 ASSOCF_INIT_DEFAULTTOFOLDER = 0x0008, /* Use folder as base */
587 ASSOCF_NOUSERSETTINGS = 0x0010, /* No HKCU reads */
588 ASSOCF_NOTRUNCATE = 0x0020, /* Don't truncate return */
589 ASSOCF_VERIFY = 0x0040, /* Verify data */
590 ASSOCF_REMAPRUNDLL = 0x0080, /* Get rundll args */
591 ASSOCF_NOFIXUPS = 0x0100, /* Don't fixup errors */
592 ASSOCF_IGNOREBASECLASS = 0x0200, /* Don't read baseclass */
593 ASSOCF_INIT_IGNOREUNKNOWN = 0x0400, /* Fail for unknown progid */
594 ASSOCF_INIT_FIXED_PROGID = 0x0800, /* Used passed string as progid, don't try to map it */
595 ASSOCF_IS_PROTOCOL = 0x1000, /* Treat as protocol, that should be mapped */
596 ASSOCF_INIT_FOR_FILE = 0x2000, /* progid is for file extension association */
597};
598
599typedef DWORD ASSOCF;
600
601typedef enum
602{
603 ASSOCSTR_COMMAND = 1, /* Verb command */
604 ASSOCSTR_EXECUTABLE, /* .exe from command string */
605 ASSOCSTR_FRIENDLYDOCNAME, /* Friendly doc type name */
606 ASSOCSTR_FRIENDLYAPPNAME, /* Friendly .exe name */
607 ASSOCSTR_NOOPEN, /* noopen value */
608 ASSOCSTR_SHELLNEWVALUE, /* Use shellnew key */
609 ASSOCSTR_DDECOMMAND, /* DDE command template */
610 ASSOCSTR_DDEIFEXEC, /* DDE command for process create */
611 ASSOCSTR_DDEAPPLICATION, /* DDE app name */
612 ASSOCSTR_DDETOPIC, /* DDE topic */
613 ASSOCSTR_INFOTIP, /* Infotip */
614 ASSOCSTR_QUICKTIP, /* Quick infotip */
615 ASSOCSTR_TILEINFO, /* Properties for tileview */
616 ASSOCSTR_CONTENTTYPE, /* Mimetype */
618 ASSOCSTR_SHELLEXTENSION, /* GUID for shell extension handler */
621
622typedef enum
623{
624 ASSOCKEY_SHELLEXECCLASS = 1, /* Key for ShellExec */
625 ASSOCKEY_APP, /* Application */
626 ASSOCKEY_CLASS, /* Progid or class */
627 ASSOCKEY_BASECLASS, /* Base class */
630
631typedef enum
632{
633 ASSOCDATA_MSIDESCRIPTOR = 1, /* Component descriptor */
634 ASSOCDATA_NOACTIVATEHANDLER, /* Don't activate */
635 ASSOCDATA_QUERYCLASSSTORE, /* Look in Class Store */
636 ASSOCDATA_HASPERUSERASSOC, /* Use user association */
637 ASSOCDATA_EDITFLAGS, /* Edit flags */
638 ASSOCDATA_VALUE, /* pszExtra is value */
641
642typedef enum
643{
646
647typedef struct IQueryAssociations *LPQUERYASSOCIATIONS;
648
649#define INTERFACE IQueryAssociations
650DECLARE_INTERFACE_(IQueryAssociations,IUnknown)
651{
652 /*** IUnknown methods ***/
656 /*** IQueryAssociations methods ***/
658 STDMETHOD(GetString)(THIS_ _In_ ASSOCF flags, _In_ ASSOCSTR str, _In_opt_ LPCWSTR pszExtra, _Out_writes_opt_(*pcchOut) LPWSTR pszOut, _Inout_ DWORD *pcchOut) PURE;
659 STDMETHOD(GetKey)(THIS_ _In_ ASSOCF flags, _In_ ASSOCKEY key, _In_opt_ LPCWSTR pszExtra, _Out_ HKEY *phkeyOut) PURE;
661 STDMETHOD(GetEnum)(THIS_ _In_ ASSOCF flags, _In_ ASSOCENUM assocenum, _In_opt_ LPCWSTR pszExtra, _In_ REFIID riid, _Outptr_ LPVOID *ppvOut) PURE;
662};
663#undef INTERFACE
664
665#if !defined(__cplusplus) || defined(CINTERFACE)
666#define IQueryAssociations_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
667#define IQueryAssociations_AddRef(p) (p)->lpVtbl->AddRef(p)
668#define IQueryAssociations_Release(p) (p)->lpVtbl->Release(p)
669#define IQueryAssociations_Init(p,a,b,c,d) (p)->lpVtbl->Init(p,a,b,c,d)
670#define IQueryAssociations_GetString(p,a,b,c,d,e) (p)->lpVtbl->GetString(p,a,b,c,d,e)
671#define IQueryAssociations_GetKey(p,a,b,c,d) (p)->lpVtbl->GetKey(p,a,b,c,d)
672#define IQueryAssociations_GetData(p,a,b,c,d,e) (p)->lpVtbl->GetData(p,a,b,c,d,e)
673#define IQueryAssociations_GetEnum(p,a,b,c,d,e) (p)->lpVtbl->GetEnum(p,a,b,c,d,e)
674#endif
675
677
679WINAPI
681 _In_ ASSOCF,
683 _In_ LPCSTR,
685 _Out_writes_opt_(*pcchOut) LPSTR,
686 _Inout_ LPDWORD pcchOut);
687
689WINAPI
691 _In_ ASSOCF,
695 _Out_writes_opt_(*pcchOut) LPWSTR,
696 _Inout_ LPDWORD pcchOut);
697
698#define AssocQueryString WINELIB_NAME_AW(AssocQueryString)
699
701WINAPI
703 _In_ ASSOCF,
705 _In_ HKEY,
707 _Out_writes_opt_(*pcchOut) LPSTR,
708 _Inout_ LPDWORD pcchOut);
709
711WINAPI
713 _In_ ASSOCF,
715 _In_ HKEY,
717 _Out_writes_opt_(*pcchOut) LPWSTR,
718 _Inout_ LPDWORD pcchOut);
719
720#define AssocQueryStringByKey WINELIB_NAME_AW(AssocQueryStringByKey)
721
723WINAPI
725 _In_ ASSOCF,
727 _In_ LPCSTR,
729 _Out_ PHKEY);
730
732WINAPI
734 _In_ ASSOCF,
738 _Out_ PHKEY);
739
740#define AssocQueryKey WINELIB_NAME_AW(AssocQueryKey)
741
743
744#endif /* NO_SHLWAPI_REG */
745
749
751WINAPI
753 _In_ IUnknown *punk,
754 _In_opt_ IUnknown *punkSite);
755
757WINAPI
759 _In_ IUnknown *punk,
761 _Outptr_ void **ppv);
762
764WINAPI
766 _In_opt_ IUnknown *punk,
767 _In_ REFGUID guidService,
769 _Outptr_ void **ppvOut);
770
771/* Path functions */
772#ifndef NO_SHLWAPI_PATH
773
774/* GetPathCharType return flags */
775#define GCT_INVALID 0x0
776#define GCT_LFNCHAR 0x1
777#define GCT_SHORTCHAR 0x2
778#define GCT_WILD 0x4
779#define GCT_SEPARATOR 0x8
780
783#define PathAddBackslash WINELIB_NAME_AW(PathAddBackslash)
784
785BOOL
786WINAPI
790
791BOOL
792WINAPI
796
797#define PathAddExtension WINELIB_NAME_AW(PathAddExtension)
798
801#define PathAppend WINELIB_NAME_AW(PathAppend)
802
805#define PathBuildRoot WINELIB_NAME_AW(PathBuiltRoot)
806
809#define PathCanonicalize WINELIB_NAME_AW(PathCanonicalize)
810
811LPSTR
812WINAPI
817
818LPWSTR
819WINAPI
824
825#define PathCombine WINELIB_NAME_AW(PathCombine)
826
827BOOL
828WINAPI
832 _In_ UINT);
833
834BOOL
835WINAPI
839 _In_ UINT);
840
841#define PathCompactPath WINELIB_NAME_AW(PathCompactPath)
842
843BOOL
844WINAPI
847 _In_ LPCSTR,
849 _In_ DWORD);
850
851BOOL
852WINAPI
857 _In_ DWORD);
858
859#define PathCompactPathEx WINELIB_NAME_AW(PathCompactPathEx)
860
861int
862WINAPI
864 _In_ LPCSTR,
865 _In_ LPCSTR,
867
868int
869WINAPI
874
875#define PathCommonPrefix WINELIB_NAME_AW(PathCommonPrefix)
876
878WINAPI
880 _In_ LPCSTR,
883 DWORD);
884
886WINAPI
888 _In_ LPCWSTR pszUrl,
891 DWORD dwFlags);
892
893#define PathCreateFromUrl WINELIB_NAME_AW(PathCreateFromUrl)
894
896
899#define PathFileExists WINELIB_NAME_AW(PathFileExists)
900
903#define PathFileExistsAndAttributes WINELIB_NAME_AW(PathFileExistsAndAttributes)
904
907#define PathFindExtension WINELIB_NAME_AW(PathFindExtension)
908
911#define PathFindFileName WINELIB_NAME_AW(PathFindFileName)
912
915#define PathFindNextComponent WINELIB_NAME_AW(PathFindNextComponent)
916
919#define PathFindOnPath WINELIB_NAME_AW(PathFindOnPath)
920
923#define PathGetArgs WINELIB_NAME_AW(PathGetArgs)
924
927#define PathGetCharType WINELIB_NAME_AW(PathGetCharType)
928
931#define PathGetDriveNumber WINELIB_NAME_AW(PathGetDriveNumber)
932
935#define PathIsDirectory WINELIB_NAME_AW(PathIsDirectory)
936
939#define PathIsDirectoryEmpty WINELIB_NAME_AW(PathIsDirectoryEmpty)
940
943#define PathIsFileSpec WINELIB_NAME_AW(PathIsFileSpec);
944
947#define PathIsPrefix WINELIB_NAME_AW(PathIsPrefix)
948
951#define PathIsRelative WINELIB_NAME_AW(PathIsRelative)
952
955#define PathIsRoot WINELIB_NAME_AW(PathIsRoot)
956
959#define PathIsSameRoot WINELIB_NAME_AW(PathIsSameRoot)
960
963#define PathIsUNC WINELIB_NAME_AW(PathIsUNC)
964
967#define PathIsUNCServer WINELIB_NAME_AW(PathIsUNCServer)
968
971#define PathIsUNCServerShare WINELIB_NAME_AW(PathIsUNCServerShare)
972
975#define PathIsContentType WINELIB_NAME_AW(PathIsContentType)
976
979#define PathIsURL WINELIB_NAME_AW(PathIsURL)
980
983#define PathMakePretty WINELIB_NAME_AW(PathMakePretty)
984
987#define PathMatchSpec WINELIB_NAME_AW(PathMatchSpec)
988
991#define PathParseIconLocation WINELIB_NAME_AW(PathParseIconLocation)
992
995#define PathQuoteSpaces WINELIB_NAME_AW(PathQuoteSpaces)
996
997BOOL
998WINAPI
1001 _In_ LPCSTR,
1002 _In_ DWORD,
1003 _In_ LPCSTR,
1004 _In_ DWORD);
1005
1006BOOL
1007WINAPI
1010 _In_ LPCWSTR,
1011 _In_ DWORD,
1012 _In_ LPCWSTR,
1013 _In_ DWORD);
1014
1015#define PathRelativePathTo WINELIB_NAME_AW(PathRelativePathTo)
1016
1019#define PathRemoveArgs WINELIB_NAME_AW(PathRemoveArgs)
1020
1023#define PathRemoveBackslash WINELIB_NAME_AW(PathRemoveBackslash)
1024
1027#define PathRemoveBlanks WINELIB_NAME_AW(PathRemoveBlanks)
1028
1031#define PathRemoveExtension WINELIB_NAME_AW(PathRemoveExtension)
1032
1035#define PathRemoveFileSpec WINELIB_NAME_AW(PathRemoveFileSpec)
1036
1037BOOL
1038WINAPI
1041 _In_ LPCSTR);
1042
1043BOOL
1044WINAPI
1047 _In_ LPCWSTR);
1048
1049#define PathRenameExtension WINELIB_NAME_AW(PathRenameExtension)
1050
1051BOOL
1052WINAPI
1054 _In_ LPCSTR,
1055 _Out_writes_(cchBuf) LPSTR,
1056 _In_ UINT cchBuf);
1057
1058BOOL
1059WINAPI
1061 _In_ LPCWSTR,
1062 _Out_writes_(cchBuf) LPWSTR,
1063 _In_ UINT cchBuf);
1064
1065#define PathSearchAndQualify WINELIB_NAME_AW(PathSearchAndQualify)
1066
1069#define PathSetDlgItemPath WINELIB_NAME_AW(PathSetDlgItemPath)
1070
1073#define PathSkipRoot WINELIB_NAME_AW(PathSkipRoot)
1074
1077#define PathStripPath WINELIB_NAME_AW(PathStripPath)
1078
1081#define PathStripToRoot WINELIB_NAME_AW(PathStripToRoot)
1082
1085#define PathUnquoteSpaces WINELIB_NAME_AW(PathUnquoteSpaces)
1086
1089#define PathMakeSystemFolder WINELIB_NAME_AW(PathMakeSystemFolder)
1090
1093#define PathUnmakeSystemFolder WINELIB_NAME_AW(PathUnmakeSystemFolder)
1094
1097#define PathIsSystemFolder WINELIB_NAME_AW(PathIsSystemFolder)
1098
1101#define PathIsNetworkPath WINELIB_NAME_AW(PathIsNetworkPath)
1102
1105#define PathIsLFNFileSpec WINELIB_NAME_AW(PathIsLFNFileSpec)
1106
1107LPCSTR
1108WINAPI
1110 _In_ LPCSTR,
1111 _In_reads_(iArraySize) LPCSTR *,
1112 int iArraySize);
1113
1114LPCWSTR
1115WINAPI
1117 _In_ LPCWSTR,
1118 _In_reads_(iArraySize) LPCWSTR *,
1119 int iArraySize);
1120
1121#define PathFindSuffixArray WINELIB_NAME_AW(PathFindSuffixArray)
1122
1125#define PathUndecorate WINELIB_NAME_AW(PathUndecorate)
1126
1127BOOL
1128WINAPI
1130 _In_ LPCSTR,
1131 _Out_writes_(cchBuf) LPSTR,
1132 _In_ UINT cchBuf);
1133
1134BOOL
1135WINAPI
1137 _In_ LPCWSTR,
1138 _Out_writes_(cchBuf) LPWSTR,
1139 _In_ UINT cchBuf);
1140
1141#define PathUnExpandEnvStrings WINELIB_NAME_AW(PathUnExpandEnvStrings)
1142
1143/* Url functions */
1144typedef enum {
1175
1176/* These are used by UrlGetPart routine */
1177typedef enum {
1186
1187#define URL_PARTFLAG_KEEPSCHEME 0x00000001
1188
1189/* These are used by the UrlIs... routines */
1190typedef enum {
1199
1200/* This is used by the UrlApplyScheme... routines */
1201#define URL_APPLY_FORCEAPPLY 0x00000008
1202#define URL_APPLY_GUESSFILE 0x00000004
1203#define URL_APPLY_GUESSSCHEME 0x00000002
1204#define URL_APPLY_DEFAULT 0x00000001
1205
1206/* The following are used by UrlEscape..., UrlUnEscape...,
1207 * UrlCanonicalize..., and UrlCombine... routines
1208 */
1209#define URL_WININET_COMPATIBILITY 0x80000000
1210#define URL_PLUGGABLE_PROTOCOL 0x40000000
1211#define URL_ESCAPE_UNSAFE 0x20000000
1212#define URL_UNESCAPE 0x10000000
1213
1214#define URL_DONT_SIMPLIFY 0x08000000
1215#define URL_NO_META URL_DONT_SIMPLIFY
1216#define URL_ESCAPE_SPACES_ONLY 0x04000000
1217#define URL_DONT_ESCAPE_EXTRA_INFO 0x02000000
1218#define URL_DONT_UNESCAPE_EXTRA_INFO URL_DONT_ESCAPE_EXTRA_INFO
1219#define URL_BROWSER_MODE URL_DONT_ESCAPE_EXTRA_INFO
1220
1221#define URL_INTERNAL_PATH 0x00800000 /* Will escape #'s in paths */
1222#define URL_UNESCAPE_HIGH_ANSI_ONLY 0x00400000
1223#define URL_CONVERT_IF_DOSPATH 0x00200000
1224#define URL_UNESCAPE_INPLACE 0x00100000
1225
1226#define URL_FILE_USE_PATHURL 0x00010000
1227#define URL_ESCAPE_AS_UTF8 0x00040000
1228
1229#define URL_ESCAPE_SEGMENT_ONLY 0x00002000
1230#define URL_ESCAPE_PERCENT 0x00001000
1231
1232HRESULT
1233WINAPI
1235 _In_ LPCSTR,
1236 _Out_writes_(*pcchOut) LPSTR,
1237 _Inout_ LPDWORD pcchOut,
1238 DWORD);
1239
1240HRESULT
1241WINAPI
1243 _In_ LPCWSTR,
1244 _Out_writes_(*pcchOut) LPWSTR,
1245 _Inout_ LPDWORD pcchOut,
1246 DWORD);
1247
1248#define UrlApplyScheme WINELIB_NAME_AW(UrlApplyScheme)
1249
1250HRESULT
1251WINAPI
1253 _In_ LPCSTR,
1254 _Out_writes_to_(*pcchCanonicalized, *pcchCanonicalized) LPSTR,
1255 _Inout_ LPDWORD pcchCanonicalized,
1256 DWORD);
1257
1258HRESULT
1259WINAPI
1261 _In_ LPCWSTR,
1262 _Out_writes_to_(*pcchCanonicalized, *pcchCanonicalized) LPWSTR,
1263 _Inout_ LPDWORD pcchCanonicalized,
1264 DWORD);
1265
1266#define UrlCanonicalize WINELIB_NAME_AW(UrlCanonicalize)
1267
1268HRESULT
1269WINAPI
1271 _In_ LPCSTR,
1272 _In_ LPCSTR,
1273 _Out_writes_to_opt_(*pcchCombined, *pcchCombined) LPSTR,
1274 _Inout_ LPDWORD pcchCombined,
1275 DWORD);
1276
1277HRESULT
1278WINAPI
1280 _In_ LPCWSTR,
1281 _In_ LPCWSTR,
1282 _Out_writes_to_opt_(*pcchCombined, *pcchCombined) LPWSTR,
1283 _Inout_ LPDWORD pcchCombined,
1284 DWORD);
1285
1286#define UrlCombine WINELIB_NAME_AW(UrlCombine)
1287
1290#define UrlCompare WINELIB_NAME_AW(UrlCompare)
1291
1292HRESULT
1293WINAPI
1295 _In_ LPCSTR,
1296 _Out_writes_to_(*pcchEscaped, *pcchEscaped) LPSTR,
1297 _Inout_ LPDWORD pcchEscaped,
1298 DWORD);
1299
1300HRESULT
1301WINAPI
1303 _In_ LPCWSTR,
1304 _Out_writes_to_(*pcchEscaped, *pcchEscaped) LPWSTR,
1305 _Inout_ LPDWORD pcchEscaped,
1306 DWORD);
1307
1308#define UrlEscape WINELIB_NAME_AW(UrlEscape)
1309
1310#define UrlEscapeSpacesA(x,y,z) UrlCanonicalizeA(x, y, z, \
1311 URL_DONT_ESCAPE_EXTRA_INFO|URL_ESCAPE_SPACES_ONLY)
1312#define UrlEscapeSpacesW(x,y,z) UrlCanonicalizeW(x, y, z, \
1313 URL_DONT_ESCAPE_EXTRA_INFO|URL_ESCAPE_SPACES_ONLY)
1314#define UrlEscapeSpaces WINELIB_NAME_AW(UrlEscapeSpaces)
1315
1318#define UrlGetLocation WINELIB_NAME_AW(UrlGetLocation)
1319
1320HRESULT
1321WINAPI
1323 _In_ LPCSTR,
1324 _Out_writes_(*pcchOut) LPSTR,
1325 _Inout_ LPDWORD pcchOut,
1326 DWORD,
1327 DWORD);
1328
1329HRESULT
1330WINAPI
1332 _In_ LPCWSTR,
1333 _Out_writes_(*pcchOut) LPWSTR,
1334 _Inout_ LPDWORD pcchOut,
1335 DWORD,
1336 DWORD);
1337
1338#define UrlGetPart WINELIB_NAME_AW(UrlGetPart)
1339
1340HRESULT
1341WINAPI
1343 _In_reads_bytes_(cbData) const unsigned char *,
1344 DWORD cbData,
1345 _Out_writes_bytes_(cbHash) unsigned char *lpDest,
1346 DWORD cbHash);
1347
1348HRESULT
1349WINAPI
1351 _In_ LPCSTR,
1352 _Out_writes_bytes_(cbHash) unsigned char *,
1353 DWORD cbHash);
1354
1355HRESULT
1356WINAPI
1358 _In_ LPCWSTR,
1359 _Out_writes_bytes_(cbHash) unsigned char *,
1360 DWORD cbHash);
1361
1362#define UrlHash WINELIB_NAME_AW(UrlHash)
1363
1366#define UrlIs WINELIB_NAME_AW(UrlIs)
1367
1370#define UrlIsNoHistory WINELIB_NAME_AW(UrlIsNoHistory)
1371
1374#define UrlIsOpaque WINELIB_NAME_AW(UrlIsOpaque)
1375
1376#define UrlIsFileUrlA(x) UrlIsA(x, URLIS_FILEURL)
1377#define UrlIsFileUrlW(x) UrlIsW(x, URLIS_FILEURL)
1378#define UrlIsFileUrl WINELIB_NAME_AW(UrlIsFileUrl)
1379
1380HRESULT
1381WINAPI
1383 _Inout_ LPSTR,
1384 _Out_writes_to_opt_(*pcchUnescaped, *pcchUnescaped) LPSTR,
1385 _Inout_opt_ LPDWORD pcchUnescaped,
1386 DWORD);
1387
1388HRESULT
1389WINAPI
1392 _Out_writes_to_opt_(*pcchUnescaped, *pcchUnescaped) LPWSTR,
1393 _Inout_opt_ LPDWORD pcchUnescaped,
1394 DWORD);
1395
1396#define UrlUnescape WINELIB_NAME_AW(UrlUnescape)
1397
1398#define UrlUnescapeInPlaceA(x,y) UrlUnescapeA(x, NULL, NULL, \
1399 y | URL_UNESCAPE_INPLACE)
1400#define UrlUnescapeInPlaceW(x,y) UrlUnescapeW(x, NULL, NULL, \
1401 y | URL_UNESCAPE_INPLACE)
1402#define UrlUnescapeInPlace WINELIB_NAME_AW(UrlUnescapeInPlace)
1403
1404HRESULT
1405WINAPI
1407 _In_ LPCSTR,
1408 _Out_writes_to_(*pcchUrl, *pcchUrl) LPSTR,
1409 _Inout_ LPDWORD pcchUrl,
1410 DWORD);
1411
1412HRESULT
1413WINAPI
1415 _In_ LPCWSTR,
1416 _Out_writes_to_(*pcchUrl, *pcchUrl) LPWSTR,
1417 _Inout_ LPDWORD pcchUrl,
1418 DWORD);
1419
1420#define UrlCreateFromPath WINELIB_NAME_AW(UrlCreateFromPath)
1421
1422typedef struct tagPARSEDURLA {
1430
1431typedef struct tagPARSEDURLW {
1439
1442#define ParseURL WINELIB_NAME_AW(ParseUrl)
1443
1444#endif /* NO_SHLWAPI_PATH */
1445
1446
1447/* String functions */
1448#ifndef NO_SHLWAPI_STRFCNS
1449
1450/* StrToIntEx flags */
1451#define STIF_DEFAULT 0x0L
1452#define STIF_SUPPORT_HEX 0x1L
1453
1456#define ChrCmpI WINELIB_NAME_AW(ChrCmpI)
1457
1460#define StrCSpn WINELIB_NAME_AW(StrCSpn)
1461
1464#define StrCSpnI WINELIB_NAME_AW(StrCSpnI)
1465
1466#define StrCatA lstrcatA
1468#define StrCat WINELIB_NAME_AW(StrCat)
1469
1470LPSTR
1471WINAPI
1473 _Inout_updates_(cchDestBuffSize) LPSTR,
1474 _In_ LPCSTR,
1475 INT cchDestBuffSize);
1476
1477LPWSTR
1478WINAPI
1480 _Inout_updates_(cchDestBuffSize) LPWSTR,
1481 _In_ LPCWSTR,
1482 INT cchDestBuffSize);
1483
1484#define StrCatBuff WINELIB_NAME_AW(StrCatBuff)
1485
1486DWORD
1487WINAPI
1489 _Out_writes_(cchDst) LPWSTR,
1490 DWORD cchDst,
1491 DWORD,
1492 _In_ LPCWSTR);
1493
1496#define StrChr WINELIB_NAME_AW(StrChr)
1497
1500#define StrChrI WINELIB_NAME_AW(StrChrI)
1501
1502#define StrCmpA lstrcmpA
1504#define StrCmp WINELIB_NAME_AW(StrCmp)
1505
1506#define StrCmpIA lstrcmpiA
1508#define StrCmpI WINELIB_NAME_AW(StrCmpI)
1509
1510#define StrCpyA lstrcpyA
1512#define StrCpy WINELIB_NAME_AW(StrCpy)
1513
1514#define StrCpyNA lstrcpynA
1516#define StrCpyN WINELIB_NAME_AW(StrCpyN)
1517#define StrNCpy WINELIB_NAME_AW(StrCpyN)
1518
1520
1523#define StrCmpN WINELIB_NAME_AW(StrCmpN)
1524#define StrNCmp WINELIB_NAME_AW(StrCmpN)
1525
1528#define StrCmpNI WINELIB_NAME_AW(StrCmpNI)
1529#define StrNCmpI WINELIB_NAME_AW(StrCmpNI)
1530
1533#define StrDup WINELIB_NAME_AW(StrDup)
1534
1537#define SHStrDup WINELIB_NAME_AW(SHStrDup)
1538
1539LPSTR
1540WINAPI
1542 DWORD,
1543 _Out_writes_(cchBuf) LPSTR,
1544 UINT cchBuf);
1545
1546/* A/W Pairing is broken for this function */
1547
1548LPSTR
1549WINAPI
1551 LONGLONG,
1552 _Out_writes_(cchBuf) LPSTR,
1553 UINT cchBuf);
1554
1555LPWSTR
1556WINAPI
1558 LONGLONG,
1559 _Out_writes_(cchBuf) LPWSTR,
1560 UINT cchBuf);
1561
1562#ifndef WINE_NO_UNICODE_MACROS
1563#ifdef UNICODE
1564#define StrFormatByteSize StrFormatByteSizeW
1565#else
1566#define StrFormatByteSize StrFormatByteSize64A
1567#endif
1568#endif
1569
1570LPSTR
1571WINAPI
1573 LONGLONG,
1574 _Out_writes_(cchBuf) LPSTR,
1575 UINT cchBuf);
1576
1577LPWSTR
1578WINAPI
1580 LONGLONG,
1581 _Out_writes_(cchBuf) LPWSTR,
1582 UINT cchBuf);
1583
1584#define StrFormatKBSize WINELIB_NAME_AW(StrFormatKBSize)
1585
1586int
1587WINAPI
1590 UINT cchMax,
1591 DWORD,
1592 int);
1593
1594int
1595WINAPI
1598 UINT cchMax,
1599 DWORD,
1600 int);
1601
1602#define StrFromTimeInterval WINELIB_NAME_AW(StrFromTimeInterval)
1603
1606#define StrIsIntlEqual WINELIB_NAME_AW(StrIsIntlEqual)
1607
1608#define StrIntlEqNA(a,b,c) StrIsIntlEqualA(TRUE,a,b,c)
1609#define StrIntlEqNW(a,b,c) StrIsIntlEqualW(TRUE,a,b,c)
1610
1611#define StrIntlEqNIA(a,b,c) StrIsIntlEqualA(FALSE,a,b,c)
1612#define StrIntlEqNIW(a,b,c) StrIsIntlEqualW(FALSE,a,b,c)
1613
1616#define StrNCat WINELIB_NAME_AW(StrNCat)
1617#define StrCatN WINELIB_NAME_AW(StrNCat)
1618
1621#define StrPBrk WINELIB_NAME_AW(StrPBrk)
1622
1625#define StrRChr WINELIB_NAME_AW(StrRChr)
1626
1629#define StrRChrI WINELIB_NAME_AW(StrRChrI)
1630
1633#define StrRStrI WINELIB_NAME_AW(StrRStrI)
1634
1637#define StrSpn WINELIB_NAME_AW(StrSpn)
1638
1641#define StrStr WINELIB_NAME_AW(StrStr)
1642
1645#define StrStrI WINELIB_NAME_AW(StrStrI)
1646
1649
1652#define StrToInt WINELIB_NAME_AW(StrToInt)
1653#define StrToLong WINELIB_NAME_AW(StrToInt)
1654
1657#define StrToIntEx WINELIB_NAME_AW(StrToIntEx)
1658
1661#define StrToIntEx64 WINELIB_NAME_AW(StrToIntEx64)
1662
1665#define StrTrim WINELIB_NAME_AW(StrTrim)
1666
1667INT
1668WINAPI
1670 _Out_writes_(cchDest) LPSTR,
1671 _In_ INT cchDest,
1674
1675INT
1676WINAPI
1678 _Out_writes_(cchDest) LPWSTR,
1679 _In_ INT cchDest,
1682
1683#define wvnsprintf WINELIB_NAME_AW(wvnsprintf)
1684
1685INT
1686WINAPIV
1688 _Out_writes_(cchDest) LPSTR,
1689 _In_ INT cchDest,
1691 ...);
1692
1693INT
1694WINAPIV
1696 _Out_writes_(cchDest) LPWSTR,
1697 _In_ INT cchDest,
1699 ...);
1700
1701#define wnsprintf WINELIB_NAME_AW(wnsprintf)
1702
1703HRESULT
1704WINAPI
1706 _In_ LPCWSTR,
1707 _Out_writes_(cchOutBuf) LPWSTR,
1708 _In_ UINT cchOutBuf,
1709 _Reserved_ PVOID*);
1710
1711BOOL
1712WINAPI
1714 BOOL,
1715 _In_reads_(nChar) LPCSTR,
1716 _In_reads_(nChar) LPCSTR,
1717 int nChar);
1718
1719BOOL
1720WINAPI
1722 BOOL,
1723 _In_reads_(nChar) LPCWSTR,
1724 _In_reads_(nChar) LPCWSTR,
1725 int nChar);
1726
1727#define IntlStrEqWorker WINELIB_NAME_AW(IntlStrEqWorker)
1728
1729#define IntlStrEqNA(s1,s2,n) IntlStrEqWorkerA(TRUE,s1,s2,n)
1730#define IntlStrEqNW(s1,s2,n) IntlStrEqWorkerW(TRUE,s1,s2,n)
1731#define IntlStrEqN WINELIB_NAME_AW(IntlStrEqN)
1732
1733#define IntlStrEqNIA(s1,s2,n) IntlStrEqWorkerA(FALSE,s1,s2,n)
1734#define IntlStrEqNIW(s1,s2,n) IntlStrEqWorkerW(FALSE,s1,s2,n)
1735#define IntlStrEqNI WINELIB_NAME_AW(IntlStrEqNI)
1736
1737HRESULT
1738WINAPI
1740 _Inout_ STRRET*,
1742 _Outptr_ LPSTR*);
1743
1744HRESULT
1745WINAPI
1747 _Inout_ STRRET*,
1749 _Outptr_ LPWSTR*);
1750
1751#define StrRetToStr WINELIB_NAME_AW(StrRetToStr)
1752
1753HRESULT
1754WINAPI
1756 _Inout_ STRRET*,
1758 _Out_writes_(cchBuf) LPSTR,
1759 UINT cchBuf);
1760
1761HRESULT
1762WINAPI
1764 _Inout_ STRRET*,
1766 _Out_writes_(cchBuf) LPWSTR,
1767 UINT cchBuf);
1768
1769#define StrRetToBuf WINELIB_NAME_AW(StrRetToBuf)
1770
1771HRESULT
1772WINAPI
1774 _Inout_ STRRET*,
1776 _Outptr_ BSTR*);
1777
1780#define IsCharSpace WINELIB_NAME_AW(IsCharSpace)
1781
1782#endif /* NO_SHLWAPI_STRFCNS */
1783
1784
1785/* GDI functions */
1786#ifndef NO_SHLWAPI_GDI
1787
1789
1791
1793
1795
1796#endif /* NO_SHLWAPI_GDI */
1797
1798/* Security functions */
1800
1801/* Stream functions */
1802#ifndef NO_SHLWAPI_STREAM
1803
1804struct IStream *
1805WINAPI
1807 _In_ HKEY,
1810 _In_ DWORD);
1811
1812struct IStream *
1813WINAPI
1815 _In_ HKEY,
1818 _In_ DWORD);
1819
1820#define SHOpenRegStream WINELIB_NAME_AW(SHOpenRegStream2) /* Uses version 2 */
1821
1822struct IStream *
1823WINAPI
1825 _In_ HKEY,
1828 _In_ DWORD);
1829
1830struct IStream *
1831WINAPI
1833 _In_ HKEY,
1836 _In_ DWORD);
1837
1838#define SHOpenRegStream2 WINELIB_NAME_AW(SHOpenRegStream2)
1839
1840HRESULT
1841WINAPI
1843 _In_ LPCSTR,
1844 _In_ DWORD,
1845 _Outptr_ struct IStream**);
1846
1847HRESULT
1848WINAPI
1850 _In_ LPCWSTR,
1851 _In_ DWORD,
1852 _Outptr_ struct IStream**);
1853
1854#define SHCreateStreamOnFile WINELIB_NAME_AW(SHCreateStreamOnFile)
1855
1856struct IStream*
1857WINAPI
1859 _In_reads_bytes_opt_(cbInit) const BYTE *pInit,
1860 _In_ UINT cbInit);
1861
1862HRESULT
1863WINAPI
1865 _In_ LPCWSTR,
1866 _In_ DWORD,
1867 _In_ DWORD,
1868 _In_ BOOL,
1869 _In_opt_ struct IStream*,
1870 _Outptr_ struct IStream**);
1871
1873
1874#endif /* NO_SHLWAPI_STREAM */
1875
1876#ifndef NO_SHLWAPI_SHARED
1877
1878// These functions are only included in this file starting with the Windows 7 platform SDK
1879
1880HANDLE
1881WINAPI
1883 _In_opt_ const void *pvData,
1885 _In_ DWORD dwDestinationProcessId
1886 );
1887
1888PVOID
1889WINAPI
1891 _In_ HANDLE hData,
1892 _In_ DWORD dwProcessId
1893 );
1894
1895BOOL
1896WINAPI
1898 _In_ void *pvData
1899 );
1900
1901BOOL
1902WINAPI
1904 _In_ HANDLE hData,
1905 _In_ DWORD dwProcessId
1906 );
1907
1908#endif /* NO_SHLWAPI_SHARED */
1909
1910/* SHAutoComplete flags */
1911#define SHACF_DEFAULT 0x00000000
1912#define SHACF_FILESYSTEM 0x00000001
1913#define SHACF_URLHISTORY 0x00000002
1914#define SHACF_URLMRU 0x00000004
1915#define SHACF_URLALL (SHACF_URLHISTORY|SHACF_URLMRU)
1916#define SHACF_USETAB 0x00000008
1917#define SHACF_FILESYS_ONLY 0x00000010
1918#define SHACF_FILESYS_DIRS 0x00000020
1919#define SHACF_AUTOSUGGEST_FORCE_ON 0x10000000
1920#define SHACF_AUTOSUGGEST_FORCE_OFF 0x20000000
1921#define SHACF_AUTOAPPEND_FORCE_ON 0x40000000
1922#define SHACF_AUTOAPPEND_FORCE_OFF 0x80000000
1923
1925
1926/* Threads */
1931
1932/* SHCreateThread flags */
1933#define CTF_INSIST 0x01 /* Always call */
1934#define CTF_THREAD_REF 0x02 /* Hold thread ref */
1935#define CTF_PROCESS_REF 0x04 /* Hold process ref */
1936#define CTF_COINIT 0x08 /* Startup COM first */
1937#define CTF_FREELIBANDEXIT 0x10 /* Hold DLL ref */
1938#define CTF_REF_COUNTED 0x20 /* Thread is ref counted */
1939#define CTF_WAIT_ALLOWCOM 0x40 /* Allow marshalling */
1940
1941BOOL
1942WINAPI
1944 _In_ LPTHREAD_START_ROUTINE pfnThreadProc,
1945 _In_opt_ void* pData,
1947 _In_opt_ LPTHREAD_START_ROUTINE pfnCallback);
1948
1950
1951/* Version Information */
1952
1953typedef struct _DllVersionInfo {
1960
1961#define DLLVER_PLATFORM_WINDOWS 0x01 /* Win9x */
1962#define DLLVER_PLATFORM_NT 0x02 /* WinNT */
1963
1965
1966#ifdef __WINESRC__
1967/* shouldn't be here, but is nice for type checking */
1969#endif
1970
1971typedef struct _DLLVERSIONINFO2 {
1973 DWORD dwFlags; /* Reserved */
1974 ULONGLONG DECLSPEC_ALIGN(8) ullVersion; /* 16 bits each for Major, Minor, Build, QFE */
1976
1977#define DLLVER_MAJOR_MASK 0xFFFF000000000000
1978#define DLLVER_MINOR_MASK 0x0000FFFF00000000
1979#define DLLVER_BUILD_MASK 0x00000000FFFF0000
1980#define DLLVER_QFE_MASK 0x000000000000FFFF
1981
1982#define MAKEDLLVERULL(mjr, mnr, bld, qfe) (((ULONGLONG)(mjr)<< 48)| \
1983 ((ULONGLONG)(mnr)<< 32) | ((ULONGLONG)(bld)<< 16) | (ULONGLONG)(qfe))
1984
1986
1987
1988#if (_WIN32_IE >= 0x0600)
1989#define SHGVSPB_PERUSER 0x00000001
1990#define SHGVSPB_ALLUSERS 0x00000002
1991#define SHGVSPB_PERFOLDER 0x00000004
1992#define SHGVSPB_ALLFOLDERS 0x00000008
1993#define SHGVSPB_INHERIT 0x00000010
1994#define SHGVSPB_ROAM 0x00000020
1995#define SHGVSPB_NOAUTODEFAULTS 0x80000000
1996
1997#define SHGVSPB_FOLDER (SHGVSPB_PERUSER | SHGVSPB_PERFOLDER)
1998#define SHGVSPB_FOLDERNODEFAULTS (SHGVSPB_PERUSER | SHGVSPB_PERFOLDER | SHGVSPB_NOAUTODEFAULTS)
1999#define SHGVSPB_USERDEFAULTS (SHGVSPB_PERUSER | SHGVSPB_ALLFOLDERS)
2000#define SHGVSPB_GLOBALDEAFAULTS (SHGVSPB_ALLUSERS | SHGVSPB_ALLFOLDERS)
2001
2002HRESULT
2003WINAPI
2006 _In_opt_ LPCWSTR bag_name,
2009 _Outptr_ void **ppv);
2010
2011#endif /* (_WIN32_IE >= 0x0600) */
2012
2013
2014/* IsOS definitions */
2015
2016#define OS_WIN32SORGREATER 0x00
2017#define OS_NT 0x01
2018#define OS_WIN95ORGREATER 0x02
2019#define OS_NT4ORGREATER 0x03
2020#define OS_WIN2000ORGREATER_ALT 0x04
2021#define OS_WIN98ORGREATER 0x05
2022#define OS_WIN98_GOLD 0x06
2023#define OS_WIN2000ORGREATER 0x07
2024#define OS_WIN2000PRO 0x08
2025#define OS_WIN2000SERVER 0x09
2026#define OS_WIN2000ADVSERVER 0x0A
2027#define OS_WIN2000DATACENTER 0x0B
2028#define OS_WIN2000TERMINAL 0x0C
2029#define OS_EMBEDDED 0x0D
2030#define OS_TERMINALCLIENT 0x0E
2031#define OS_TERMINALREMOTEADMIN 0x0F
2032#define OS_WIN95_GOLD 0x10
2033#define OS_MEORGREATER 0x11
2034#define OS_XPORGREATER 0x12
2035#define OS_HOME 0x13
2036#define OS_PROFESSIONAL 0x14
2037#define OS_DATACENTER 0x15
2038#define OS_ADVSERVER 0x16
2039#define OS_SERVER 0x17
2040#define OS_TERMINALSERVER 0x18
2041#define OS_PERSONALTERMINALSERVER 0x19
2042#define OS_FASTUSERSWITCHING 0x1A
2043#define OS_WELCOMELOGONUI 0x1B
2044#define OS_DOMAINMEMBER 0x1C
2045#define OS_ANYSERVER 0x1D
2046#define OS_WOW6432 0x1E
2047#define OS_WEBSERVER 0x1F
2048#define OS_SMALLBUSINESSSERVER 0x20
2049#define OS_TABLETPC 0x21
2050#define OS_SERVERADMINUI 0x22
2051#define OS_MEDIACENTER 0x23
2052#define OS_APPLIANCE 0x24
2053
2055
2056/* SHSetTimerQueueTimer definitions */
2057#define TPS_EXECUTEIO 0x00000001
2058#define TPS_LONGEXECTIME 0x00000008
2059
2060/* SHFormatDateTimeA/SHFormatDateTimeW flags */
2061#define FDTF_SHORTTIME 0x00000001
2062#define FDTF_SHORTDATE 0x00000002
2063#define FDTF_DEFAULT (FDTF_SHORTDATE | FDTF_SHORTTIME)
2064#define FDTF_LONGDATE 0x00000004
2065#define FDTF_LONGTIME 0x00000008
2066#define FDTF_RELATIVE 0x00000010
2067#define FDTF_LTRDATE 0x00000100
2068#define FDTF_RTLDATE 0x00000200
2069#define FDTF_NOAUTOREADINGORDER 0x00000400
2070
2071
2072typedef struct
2073{
2074 const IID *piid;
2075#if defined(__REACTOS__) || (WINVER >= _WIN32_WINNT_WIN10)
2077#else
2078 int dwOffset;
2079#endif
2081
2082HRESULT
2083WINAPI
2085 _Inout_ void* base,
2086 _In_ const QITAB *pqit,
2088 _Outptr_ void **ppv);
2089
2090#define OFFSETOFCLASS(base, derived) \
2091 ((DWORD)(DWORD_PTR)(static_cast<base*>((derived*)8))-8)
2092
2093#define QITABENTMULTI(Cthis, Ifoo, Iimpl) { &IID_##Ifoo, OFFSETOFCLASS(Iimpl, Cthis) }
2094#define QITABENT(Cthis, Ifoo) QITABENTMULTI(Cthis, Ifoo, Ifoo)
2095
2096#include <poppack.h>
2097
2098#ifdef __cplusplus
2099} /* extern "C" */
2100#endif /* defined(__cplusplus) */
2101
2102#endif /* __WINE_SHLWAPI_H */
UINT cchMax
#define DECLARE_INTERFACE_(i, b)
Definition: basetyps.h:78
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
STDAPI DllGetVersion(DLLVERSIONINFO *info)
Definition: browseui.cpp:221
_In_ BOOLEAN Release
Definition: cdrom.h:920
static LSTATUS(WINAPI *pRegDeleteTreeW)(HKEY
#define DECLSPEC_HIDDEN
Definition: precomp.h:8
OLECHAR * BSTR
Definition: compat.h:2293
#define MAX_PATH
Definition: compat.h:34
#define CALLBACK
Definition: compat.h:35
HRESULT WINAPI SHGetViewStatePropertyBag(LPCITEMIDLIST pidl, LPWSTR bag_name, DWORD flags, REFIID riid, void **ppv)
Definition: ordinal.c:5206
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
static BYTE * GetData(BYTE *pData, ULONG *pLength)
Definition: assembly.c:114
PWDFDEVICE_INIT pInit
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLbitfield flags
Definition: glext.h:7161
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56
static HDC
Definition: imagelist.c:92
static LPWSTR PDWORD pcchPath
Definition: asmcache.c:747
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
#define _Out_opt_
Definition: ms_sal.h:346
#define _In_reads_bytes_(size)
Definition: ms_sal.h:321
#define _Inout_
Definition: ms_sal.h:378
#define _Out_writes_bytes_(size)
Definition: ms_sal.h:350
#define _Inout_updates_(size)
Definition: ms_sal.h:387
#define _Outptr_
Definition: ms_sal.h:427
#define _Out_writes_(size)
Definition: ms_sal.h:348
#define _Out_writes_opt_(size)
Definition: ms_sal.h:349
#define _Inout_opt_
Definition: ms_sal.h:379
#define _Out_
Definition: ms_sal.h:345
#define _Out_writes_to_opt_(size, count)
Definition: ms_sal.h:356
#define _Out_writes_bytes_to_opt_(size, count)
Definition: ms_sal.h:361
#define _In_
Definition: ms_sal.h:308
#define _In_reads_bytes_opt_(size)
Definition: ms_sal.h:322
#define _In_opt_
Definition: ms_sal.h:309
#define _Reserved_
Definition: ms_sal.h:295
#define _Out_writes_to_(size, count)
Definition: ms_sal.h:355
#define _Out_writes_bytes_opt_(size)
Definition: ms_sal.h:351
#define _Printf_format_string_
Definition: ms_sal.h:561
#define _In_reads_(size)
Definition: ms_sal.h:319
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:95
unsigned int UINT
Definition: ndis.h:50
_In_ DWORD _In_ DWORD dwOffset
Definition: ntgdi.h:2033
#define PathAddExtensionA
Definition: pathcch.h:304
#define PathCanonicalizeA
Definition: pathcch.h:312
#define PathAddExtensionW
Definition: pathcch.h:305
#define PathCombineA
Definition: pathcch.h:316
#define PathAppendA
Definition: pathcch.h:308
#define PathCanonicalizeW
Definition: pathcch.h:313
#define PathAddBackslashA
Definition: pathcch.h:300
#define PathCombineW
Definition: pathcch.h:317
#define PathRenameExtensionA
Definition: pathcch.h:320
#define PathRenameExtensionW
Definition: pathcch.h:321
#define PathAddBackslashW
Definition: pathcch.h:301
#define PathAppendW
Definition: pathcch.h:309
long LONG
Definition: pedump.c:60
#define REFIID
Definition: guiddef.h:118
const WCHAR * str
#define WINAPIV
Definition: sdbpapi.h:64
BOOL WINAPI PathFindOnPathA(_Inout_updates_(MAX_PATH) LPSTR, _In_opt_ LPCSTR *)
BOOL WINAPI PathRemoveFileSpecA(_Inout_ LPSTR)
LPSTR WINAPI StrRChrIA(_In_ LPCSTR, _In_opt_ LPCSTR, WORD)
LONG WINAPI SHRegQueryUSValueA(_In_ HUSKEY, _In_opt_ LPCSTR, _Inout_opt_ LPDWORD, _Out_writes_bytes_to_opt_(*pcbData, *pcbData) LPVOID, _Inout_opt_ LPDWORD pcbData, _In_ BOOL, _In_reads_bytes_opt_(dwDefaultDataSize) LPVOID, _In_opt_ DWORD dwDefaultDataSize)
BOOL WINAPI PathIsPrefixA(_In_ LPCSTR, _In_ LPCSTR)
HRESULT WINAPI SHReleaseThreadRef(void)
Definition: thread.c:279
LONG WINAPI SHEnumValueW(_In_ HKEY, _In_ DWORD, _Out_writes_opt_(*pcchValueName) LPWSTR, _Inout_opt_ LPDWORD pcchValueName, _Out_opt_ LPDWORD, _Out_writes_bytes_to_opt_(*pcbData, *pcbData) LPVOID, _Inout_opt_ LPDWORD pcbData)
DWORD WINAPI SHCopyKeyW(_In_ HKEY, _In_opt_ LPCWSTR, _In_ HKEY, _Reserved_ DWORD)
HRESULT WINAPI SHSetThreadRef(_In_opt_ IUnknown *)
HUSKEY * PHUSKEY
Definition: shlwapi.h:318
VOID WINAPI PathUndecorateA(_Inout_ LPSTR)
LPCWSTR WINAPI UrlGetLocationW(_In_ LPCWSTR)
LONG WINAPI SHRegDeleteEmptyUSKeyW(_In_ HUSKEY, _In_ LPCWSTR, _In_ SHREGDEL_FLAGS)
HRESULT WINAPI DllInstall(BOOL, _In_opt_ LPCWSTR) DECLSPEC_HIDDEN
LPCSTR WINAPI PathFindSuffixArrayA(_In_ LPCSTR, _In_reads_(iArraySize) LPCSTR *, int iArraySize)
ASSOCDATA
Definition: shlwapi.h:632
@ ASSOCDATA_HASPERUSERASSOC
Definition: shlwapi.h:636
@ ASSOCDATA_EDITFLAGS
Definition: shlwapi.h:637
@ ASSOCDATA_MSIDESCRIPTOR
Definition: shlwapi.h:633
@ ASSOCDATA_VALUE
Definition: shlwapi.h:638
@ ASSOCDATA_NOACTIVATEHANDLER
Definition: shlwapi.h:634
@ ASSOCDATA_MAX
Definition: shlwapi.h:639
@ ASSOCDATA_QUERYCLASSSTORE
Definition: shlwapi.h:635
BOOL WINAPI UrlIsA(_In_ LPCSTR, URLIS)
COLORREF WINAPI ColorAdjustLuma(COLORREF, int, BOOL)
Definition: ordinal.c:3770
BOOL WINAPI PathRemoveFileSpecW(_Inout_ LPWSTR)
LSTATUS WINAPI SHRegGetValueW(_In_ HKEY hkey, _In_opt_ LPCWSTR pszSubKey, _In_opt_ LPCWSTR pszValue, _In_ SRRF srrfFlags, _Out_opt_ LPDWORD pdwType, _Out_writes_bytes_to_opt_(*pcbData, *pcbData) LPVOID pvData, _Inout_opt_ LPDWORD pcbData)
int WINAPI SHRegGetIntW(_In_ HKEY, _In_opt_ LPCWSTR, _In_ int)
LONG WINAPI SHQueryInfoKeyW(_In_ HKEY, _Out_opt_ LPDWORD, _Out_opt_ LPDWORD, _Out_opt_ LPDWORD, _Out_opt_ LPDWORD)
LONG WINAPI SHRegGetUSValueW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _Inout_opt_ LPDWORD, _Out_writes_bytes_to_opt_(*pcbData, *pcbData) LPVOID, _Inout_opt_ LPDWORD pcbData, _In_ BOOL, _In_reads_bytes_opt_(dwDefaultDataSize) LPVOID, _In_ DWORD dwDefaultDataSize)
LONG WINAPI SHRegOpenUSKeyW(_In_ LPCWSTR, _In_ REGSAM, _In_opt_ HUSKEY, _Out_ PHUSKEY, _In_ BOOL)
BOOL WINAPI PathIsContentTypeA(_In_ LPCSTR, _In_ LPCSTR)
LPSTR WINAPI PathRemoveBackslashA(_Inout_ LPSTR)
BOOL WINAPI StrTrimA(_Inout_ LPSTR, _In_ LPCSTR)
HRESULT WINAPI UrlHashW(_In_ LPCWSTR, _Out_writes_bytes_(cbHash) unsigned char *, DWORD cbHash)
HRESULT WINAPI SHCreateStreamOnFileEx(_In_ LPCWSTR, _In_ DWORD, _In_ DWORD, _In_ BOOL, _In_opt_ struct IStream *, _Outptr_ struct IStream **)
LONG WINAPI SHRegWriteUSValueW(_In_ HUSKEY, _In_ LPCWSTR, _In_ DWORD, _In_reads_bytes_(cbData) LPVOID, _In_ DWORD cbData, _In_ DWORD)
LPWSTR WINAPI StrCatW(_Inout_ LPWSTR, _In_ LPCWSTR)
LPSTR WINAPI StrChrA(_In_ LPCSTR, WORD)
HRESULT WINAPI SHCreateStreamOnFileA(_In_ LPCSTR, _In_ DWORD, _Outptr_ struct IStream **)
HRESULT WINAPI SHGetThreadRef(_Outptr_ IUnknown **)
VOID WINAPI PathRemoveBlanksW(_Inout_ LPWSTR)
URL_SCHEME
Definition: shlwapi.h:1144
@ URL_SCHEME_SNEWS
Definition: shlwapi.h:1159
@ URL_SCHEME_MAILTO
Definition: shlwapi.h:1150
@ URL_SCHEME_KNOWNFOLDER
Definition: shlwapi.h:1172
@ URL_SCHEME_LOCAL
Definition: shlwapi.h:1160
@ URL_SCHEME_MK
Definition: shlwapi.h:1156
@ URL_SCHEME_TELNET
Definition: shlwapi.h:1153
@ URL_SCHEME_UNKNOWN
Definition: shlwapi.h:1146
@ URL_SCHEME_MSSHELLROOTED
Definition: shlwapi.h:1165
@ URL_SCHEME_WAIS
Definition: shlwapi.h:1154
@ URL_SCHEME_HTTPS
Definition: shlwapi.h:1157
@ URL_SCHEME_SEARCH
Definition: shlwapi.h:1171
@ URL_SCHEME_FTP
Definition: shlwapi.h:1147
@ URL_SCHEME_RES
Definition: shlwapi.h:1164
@ URL_SCHEME_NEWS
Definition: shlwapi.h:1151
@ URL_SCHEME_MSSHELLIDLIST
Definition: shlwapi.h:1166
@ URL_SCHEME_HTTP
Definition: shlwapi.h:1148
@ URL_SCHEME_FILE
Definition: shlwapi.h:1155
@ URL_SCHEME_WILDCARD
Definition: shlwapi.h:1169
@ URL_SCHEME_ABOUT
Definition: shlwapi.h:1163
@ URL_SCHEME_NNTP
Definition: shlwapi.h:1152
@ URL_SCHEME_INVALID
Definition: shlwapi.h:1145
@ URL_SCHEME_SHELL
Definition: shlwapi.h:1158
@ URL_SCHEME_MSSHELLDEVICE
Definition: shlwapi.h:1168
@ URL_SCHEME_VBSCRIPT
Definition: shlwapi.h:1162
@ URL_SCHEME_MSHELP
Definition: shlwapi.h:1167
@ URL_SCHEME_SEARCH_MS
Definition: shlwapi.h:1170
@ URL_SCHEME_GOPHER
Definition: shlwapi.h:1149
@ URL_SCHEME_JAVASCRIPT
Definition: shlwapi.h:1161
@ URL_SCHEME_MAXVALUE
Definition: shlwapi.h:1173
LPSTR WINAPI PathFindNextComponentA(_In_ LPCSTR)
LPWSTR WINAPI StrStrW(_In_ LPCWSTR pszFirst, _In_ LPCWSTR pszSrch)
HANDLE WINAPI SHAllocShared(_In_opt_ const void *pvData, _In_ DWORD dwSize, _In_ DWORD dwDestinationProcessId)
int WINAPI PathCommonPrefixA(_In_ LPCSTR, _In_ LPCSTR, _Out_writes_opt_(MAX_PATH) LPSTR)
BOOL WINAPI SHFreeShared(_In_ HANDLE hData, _In_ DWORD dwProcessId)
LPWSTR WINAPI StrRChrIW(_In_ LPCWSTR, _In_opt_ LPCWSTR, WCHAR)
BOOL WINAPI PathCompactPathA(_In_opt_ HDC, _Inout_updates_(MAX_PATH) LPSTR, _In_ UINT)
BOOL WINAPI StrToIntExW(_In_ LPCWSTR, DWORD, _Out_ int *)
HRESULT WINAPI IUnknown_QueryService(_In_opt_ IUnknown *punk, _In_ REFGUID guidService, _In_ REFIID riid, _Outptr_ void **ppvOut)
LPSTR WINAPI StrRChrA(_In_ LPCSTR, _In_opt_ LPCSTR, WORD)
BOOL WINAPI IntlStrEqWorkerW(BOOL, _In_reads_(nChar) LPCWSTR, _In_reads_(nChar) LPCWSTR, int nChar)
BOOL WINAPI StrToInt64ExW(_In_ LPCWSTR, DWORD, _Out_ LONGLONG *)
HANDLE HUSKEY
Definition: shlwapi.h:317
LONG WINAPI SHEnumValueA(_In_ HKEY, _In_ DWORD, _Out_writes_opt_(*pcchValueName) LPSTR, _Inout_opt_ LPDWORD pcchValueName, _Out_opt_ LPDWORD, _Out_writes_bytes_to_opt_(*pcbData, *pcbData) LPVOID, _Inout_opt_ LPDWORD pcbData)
BOOL WINAPI IsInternetESCEnabled(void)
Definition: url.c:2672
BOOL WINAPI PathRelativePathToW(_Out_writes_(MAX_PATH) LPWSTR, _In_ LPCWSTR, _In_ DWORD, _In_ LPCWSTR, _In_ DWORD)
LONG WINAPI SHRegEnumUSKeyW(_In_ HUSKEY, _In_ DWORD, _Out_writes_to_(*pcchName, *pcchName) LPWSTR, _Inout_ LPDWORD pcchName, _In_ SHREGENUM_FLAGS)
HRESULT WINAPI IUnknown_SetSite(_In_ IUnknown *punk, _In_opt_ IUnknown *punkSite)
INT WINAPI StrCmpNA(_In_ LPCSTR, _In_ LPCSTR, INT)
LONG WINAPI SHRegCreateUSKeyW(_In_ LPCWSTR, _In_ REGSAM, _In_opt_ HUSKEY, _Out_ PHUSKEY, _In_ DWORD)
HPALETTE WINAPI SHCreateShellPalette(_In_opt_ HDC)
BOOL WINAPI PathIsSystemFolderA(_In_opt_ LPCSTR, _In_ DWORD)
struct IStream *WINAPI SHCreateMemStream(_In_reads_bytes_opt_(cbInit) const BYTE *pInit, _In_ UINT cbInit)
DWORD WINAPI SHSetValueA(_In_ HKEY, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD, _In_reads_bytes_opt_(cbData) LPCVOID, _In_ DWORD cbData)
BOOL WINAPI PathMakeSystemFolderA(_In_ LPCSTR)
BOOL WINAPI PathFileExistsA(_In_ LPCSTR pszPath)
BOOL WINAPI PathIsDirectoryEmptyA(_In_ LPCSTR)
LONG WINAPI SHEnumKeyExW(_In_ HKEY, _In_ DWORD, _Out_writes_(*pcchName) LPWSTR, _Inout_ LPDWORD pcchName)
LPWSTR WINAPI StrRStrIW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ LPCWSTR)
LPWSTR WINAPI StrFormatByteSizeW(LONGLONG, _Out_writes_(cchBuf) LPWSTR, UINT cchBuf)
HRESULT WINAPI SHStrDupW(_In_ LPCWSTR, _Outptr_ WCHAR **)
HRESULT WINAPI SHStrDupA(_In_ LPCSTR, _Outptr_ WCHAR **)
LPWSTR WINAPI StrChrIW(_In_ LPCWSTR, WCHAR)
HRESULT WINAPI AssocQueryStringA(_In_ ASSOCF, _In_ ASSOCSTR, _In_ LPCSTR, _In_opt_ LPCSTR, _Out_writes_opt_(*pcchOut) LPSTR, _Inout_ LPDWORD pcchOut)
VOID WINAPI PathQuoteSpacesW(_Inout_updates_(MAX_PATH) LPWSTR)
LPWSTR WINAPI StrStrIW(_In_ LPCWSTR pszFirst, _In_ LPCWSTR pszSrch)
HRESULT WINAPI SHAutoComplete(_In_ HWND, DWORD)
BOOL WINAPI UrlIsW(_In_ LPCWSTR, URLIS)
int WINAPI StrSpnA(_In_ LPCSTR psz, _In_ LPCSTR pszSet)
BOOL WINAPI IntlStrEqWorkerA(BOOL, _In_reads_(nChar) LPCSTR, _In_reads_(nChar) LPCSTR, int nChar)
HRESULT WINAPI UrlEscapeW(_In_ LPCWSTR, _Out_writes_to_(*pcchEscaped, *pcchEscaped) LPWSTR, _Inout_ LPDWORD pcchEscaped, DWORD)
LPSTR WINAPI PathFindExtensionA(_In_ LPCSTR pszPath)
VOID WINAPI PathRemoveExtensionA(_Inout_ LPSTR)
URL_PART
Definition: shlwapi.h:1177
@ URL_PART_SCHEME
Definition: shlwapi.h:1179
@ URL_PART_QUERY
Definition: shlwapi.h:1184
@ URL_PART_HOSTNAME
Definition: shlwapi.h:1180
@ URL_PART_NONE
Definition: shlwapi.h:1178
@ URL_PART_USERNAME
Definition: shlwapi.h:1181
@ URL_PART_PORT
Definition: shlwapi.h:1183
@ URL_PART_PASSWORD
Definition: shlwapi.h:1182
LPSTR WINAPI StrFormatKBSizeA(LONGLONG, _Out_writes_(cchBuf) LPSTR, UINT cchBuf)
BOOL WINAPI PathIsNetworkPathA(_In_ LPCSTR)
int WINAPI StrToIntA(_In_ LPCSTR)
HRESULT WINAPI SHCreateStreamWrapper(LPBYTE, DWORD, DWORD, struct IStream **)
Definition: regstream.c:698
ASSOCSTR
Definition: shlwapi.h:602
@ ASSOCSTR_CONTENTTYPE
Definition: shlwapi.h:616
@ ASSOCSTR_SHELLEXTENSION
Definition: shlwapi.h:618
@ ASSOCSTR_TILEINFO
Definition: shlwapi.h:615
@ ASSOCSTR_SHELLNEWVALUE
Definition: shlwapi.h:608
@ ASSOCSTR_COMMAND
Definition: shlwapi.h:603
@ ASSOCSTR_DDEAPPLICATION
Definition: shlwapi.h:611
@ ASSOCSTR_DDECOMMAND
Definition: shlwapi.h:609
@ ASSOCSTR_FRIENDLYDOCNAME
Definition: shlwapi.h:605
@ ASSOCSTR_MAX
Definition: shlwapi.h:619
@ ASSOCSTR_NOOPEN
Definition: shlwapi.h:607
@ ASSOCSTR_DDETOPIC
Definition: shlwapi.h:612
@ ASSOCSTR_DDEIFEXEC
Definition: shlwapi.h:610
@ ASSOCSTR_INFOTIP
Definition: shlwapi.h:613
@ ASSOCSTR_FRIENDLYAPPNAME
Definition: shlwapi.h:606
@ ASSOCSTR_EXECUTABLE
Definition: shlwapi.h:604
@ ASSOCSTR_DEFAULTICON
Definition: shlwapi.h:617
@ ASSOCSTR_QUICKTIP
Definition: shlwapi.h:614
LONG WINAPI SHRegDeleteUSValueA(_In_ HUSKEY, _In_ LPCSTR, _In_ SHREGDEL_FLAGS)
BOOL WINAPI PathMakeSystemFolderW(_In_ LPCWSTR)
LONG WINAPI SHRegSetUSValueW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD, _In_reads_bytes_opt_(cbData) LPVOID, _In_opt_ DWORD cbData, _In_opt_ DWORD)
BOOL WINAPI StrIsIntlEqualW(BOOL, _In_ LPCWSTR, _In_ LPCWSTR, int)
LPCSTR WINAPI UrlGetLocationA(_In_ LPCSTR)
INT WINAPIV wnsprintfW(_Out_writes_(cchDest) LPWSTR, _In_ INT cchDest, _In_ _Printf_format_string_ LPCWSTR,...)
VOID WINAPI PathStripPathA(_Inout_ LPSTR)
VOID WINAPI PathUndecorateW(_Inout_ LPWSTR)
BOOL WINAPI PathIsRelativeW(_In_ LPCWSTR)
BOOL WINAPI PathIsURLA(_In_ LPCSTR)
BOOL WINAPI PathIsRelativeA(_In_ LPCSTR)
BOOL WINAPI SHCreateThread(_In_ LPTHREAD_START_ROUTINE pfnThreadProc, _In_opt_ void *pData, _In_ DWORD flags, _In_opt_ LPTHREAD_START_ROUTINE pfnCallback)
INT WINAPIV wnsprintfA(_Out_writes_(cchDest) LPSTR, _In_ INT cchDest, _In_ _Printf_format_string_ LPCSTR,...)
int WINAPI StrFromTimeIntervalA(_Out_writes_(cchMax) LPSTR, UINT cchMax, DWORD, int)
DWORD WINAPI SHDeleteKeyW(_In_ HKEY, _In_opt_ LPCWSTR)
LPWSTR WINAPI StrStrNW(_In_ LPCWSTR, _In_ LPCWSTR, UINT)
HRESULT WINAPI StrRetToBufA(_Inout_ STRRET *, _In_opt_ PCUITEMID_CHILD, _Out_writes_(cchBuf) LPSTR, UINT cchBuf)
BOOL WINAPI PathCompactPathExA(_Out_writes_(cchMax) LPSTR, _In_ LPCSTR, _In_ UINT cchMax, _In_ DWORD)
INT WINAPI StrCmpNIW(_In_ LPCWSTR, _In_ LPCWSTR, INT)
LPSTR WINAPI StrDupA(_In_ LPCSTR)
BOOL WINAPI PathMatchSpecA(_In_ LPCSTR, _In_ LPCSTR)
LPSTR WINAPI PathFindFileNameA(_In_ LPCSTR pszPath)
INT WINAPI StrCmpLogicalW(_In_ LPCWSTR, _In_ LPCWSTR)
PVOID WINAPI SHLockShared(_In_ HANDLE hData, _In_ DWORD dwProcessId)
LPSTR WINAPI StrFormatByteSizeA(DWORD, _Out_writes_(cchBuf) LPSTR, UINT cchBuf)
HRESULT WINAPI QISearch(_Inout_ void *base, _In_ const QITAB *pqit, _In_ REFIID riid, _Outptr_ void **ppv)
BOOL WINAPI StrIsIntlEqualA(BOOL, _In_ LPCSTR, _In_ LPCSTR, int)
LPSTR WINAPI StrNCatA(_Inout_updates_(cchMax) LPSTR, LPCSTR, int cchMax)
BOOL WINAPI PathIsFileSpecW(_In_ LPCWSTR)
void WINAPI IUnknown_AtomicRelease(_Inout_opt_ IUnknown **punk)
BOOL WINAPI PathIsUNCServerA(_In_ LPCSTR)
HRESULT WINAPI PathCreateFromUrlA(_In_ LPCSTR, _Out_writes_to_(*pcchPath, *pcchPath) LPSTR, _Inout_ LPDWORD pcchPath, DWORD)
HRESULT WINAPI UrlApplySchemeW(_In_ LPCWSTR, _Out_writes_(*pcchOut) LPWSTR, _Inout_ LPDWORD pcchOut, DWORD)
BOOL WINAPI PathSearchAndQualifyA(_In_ LPCSTR, _Out_writes_(cchBuf) LPSTR, _In_ UINT cchBuf)
struct tagPARSEDURLW * PPARSEDURLW
SHREGENUM_FLAGS
Definition: shlwapi.h:304
@ SHREGENUM_HKCU
Definition: shlwapi.h:306
@ SHREGENUM_BOTH
Definition: shlwapi.h:308
@ SHREGENUM_DEFAULT
Definition: shlwapi.h:305
@ SHREGENUM_HKLM
Definition: shlwapi.h:307
int WINAPI PathCommonPrefixW(_In_ LPCWSTR, _In_ LPCWSTR, _Out_writes_opt_(MAX_PATH) LPWSTR)
BOOL WINAPI UrlIsOpaqueA(_In_ LPCSTR)
LONG WINAPI SHRegSetUSValueA(_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD, _In_reads_bytes_opt_(cbData) LPVOID, _In_opt_ DWORD cbData, _In_opt_ DWORD)
HRESULT WINAPI StrRetToBufW(_Inout_ STRRET *, _In_opt_ PCUITEMID_CHILD, _Out_writes_(cchBuf) LPWSTR, UINT cchBuf)
VOID WINAPI PathRemoveExtensionW(_Inout_ LPWSTR)
LONG WINAPI SHRegCreateUSKeyA(_In_ LPCSTR, _In_ REGSAM, _In_opt_ HUSKEY, _Out_ PHUSKEY, _In_ DWORD)
LPSTR WINAPI StrCatBuffA(_Inout_updates_(cchDestBuffSize) LPSTR, _In_ LPCSTR, INT cchDestBuffSize)
INT WINAPI StrCmpNW(_In_ LPCWSTR, _In_ LPCWSTR, INT)
HRESULT WINAPI UrlCreateFromPathA(_In_ LPCSTR, _Out_writes_to_(*pcchUrl, *pcchUrl) LPSTR, _Inout_ LPDWORD pcchUrl, DWORD)
BOOL WINAPI ChrCmpIA(WORD, WORD)
Definition: string.c:205
void WINAPI IUnknown_Set(_Inout_ IUnknown **ppunk, _In_opt_ IUnknown *punk)
BOOL WINAPI PathFindOnPathW(_Inout_updates_(MAX_PATH) LPWSTR, _In_opt_ LPCWSTR *)
BOOL WINAPI IsCharSpaceA(CHAR)
Definition: string.c:2946
DWORD WINAPI SHRegSetPathW(_In_ HKEY, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD)
BOOL WINAPI PathStripToRootW(_Inout_ LPWSTR)
INT WINAPI wvnsprintfW(_Out_writes_(cchDest) LPWSTR, _In_ INT cchDest, _In_ _Printf_format_string_ LPCWSTR, _In_ __ms_va_list)
ASSOCKEY
Definition: shlwapi.h:623
@ ASSOCKEY_CLASS
Definition: shlwapi.h:626
@ ASSOCKEY_SHELLEXECCLASS
Definition: shlwapi.h:624
@ ASSOCKEY_MAX
Definition: shlwapi.h:628
@ ASSOCKEY_BASECLASS
Definition: shlwapi.h:627
@ ASSOCKEY_APP
Definition: shlwapi.h:625
LPSTR WINAPI StrPBrkA(_In_ LPCSTR, _In_ LPCSTR)
LPSTR WINAPI StrStrA(_In_ LPCSTR pszFirst, _In_ LPCSTR pszSrch)
DWORD WINAPI SHSetValueW(_In_ HKEY, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD, _In_reads_bytes_opt_(cbData) LPCVOID, _In_ DWORD cbData)
LPWSTR WINAPI StrCpyW(_Out_ LPWSTR, _In_ LPCWSTR)
HRESULT WINAPI SHLoadIndirectString(_In_ LPCWSTR, _Out_writes_(cchOutBuf) LPWSTR, _In_ UINT cchOutBuf, _Reserved_ PVOID *)
VOID WINAPI PathSetDlgItemPathW(_In_ HWND, int, LPCWSTR)
int WINAPI StrCmpW(_In_ LPCWSTR, _In_ LPCWSTR)
INT WINAPI UrlCompareA(_In_ LPCSTR, _In_ LPCSTR, BOOL)
LPSTR WINAPI StrChrIA(_In_ LPCSTR, WORD)
LPWSTR WINAPI PathGetArgsW(_In_ LPCWSTR pszPath)
LPWSTR WINAPI StrDupW(_In_ LPCWSTR)
BOOL WINAPI PathCompactPathW(_In_opt_ HDC, _Inout_updates_(MAX_PATH) LPWSTR, _In_ UINT)
HRESULT WINAPI SHCreateStreamOnFileW(_In_ LPCWSTR, _In_ DWORD, _Outptr_ struct IStream **)
HRESULT WINAPI AssocQueryStringW(_In_ ASSOCF, _In_ ASSOCSTR, _In_ LPCWSTR, _In_opt_ LPCWSTR, _Out_writes_opt_(*pcchOut) LPWSTR, _Inout_ LPDWORD pcchOut)
INT WINAPI StrCmpNIA(_In_ LPCSTR, _In_ LPCSTR, INT)
LSTATUS WINAPI SHRegGetValueA(_In_ HKEY hkey, _In_opt_ LPCSTR pszSubKey, _In_opt_ LPCSTR pszValue, _In_ SRRF srrfFlags, _Out_opt_ LPDWORD pdwType, _Out_writes_bytes_to_opt_(*pcbData, *pcbData) LPVOID pvData, _Inout_opt_ LPDWORD pcbData)
BOOL WINAPI PathUnmakeSystemFolderW(_In_ LPCWSTR)
BOOL WINAPI SHUnlockShared(_In_ void *pvData)
BOOL WINAPI SHRegGetBoolUSValueA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ BOOL, _In_ BOOL)
LONG WINAPI SHQueryInfoKeyA(_In_ HKEY, _Out_opt_ LPDWORD, _Out_opt_ LPDWORD, _Out_opt_ LPDWORD, _Out_opt_ LPDWORD)
INT SRRF
Definition: shlwapi.h:239
int WINAPI PathGetDriveNumberW(_In_ LPCWSTR)
BOOL WINAPI AssocIsDangerous(_In_ LPCWSTR)
HRESULT WINAPI AssocQueryStringByKeyA(_In_ ASSOCF, _In_ ASSOCSTR, _In_ HKEY, _In_opt_ LPCSTR, _Out_writes_opt_(*pcchOut) LPSTR, _Inout_ LPDWORD pcchOut)
HRESULT WINAPI IUnknown_GetSite(_In_ IUnknown *punk, _In_ REFIID riid, _Outptr_ void **ppv)
LONG WINAPI SHRegEnumUSValueA(_In_ HUSKEY, _In_ DWORD, _Out_writes_to_(*pcchValueName, *pcchValueName) LPSTR, _Inout_ LPDWORD pcchValueName, _Out_opt_ LPDWORD, _Out_writes_bytes_to_opt_(*pcbData, *pcbData) LPVOID, _Inout_opt_ LPDWORD pcbData, _In_ SHREGENUM_FLAGS)
LPWSTR WINAPI PathFindNextComponentW(_In_ LPCWSTR)
int WINAPI StrFromTimeIntervalW(_Out_writes_(cchMax) LPWSTR, UINT cchMax, DWORD, int)
struct IStream *WINAPI SHOpenRegStream2A(_In_ HKEY, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD)
BOOL WINAPI PathFileExistsAndAttributesA(LPCSTR lpszPath, DWORD *dwAttr)
Definition: path.c:1806
DWORD WINAPI SHDeleteValueA(_In_ HKEY, _In_opt_ LPCSTR, _In_ LPCSTR)
BOOL WINAPI PathIsRootW(_In_ LPCWSTR)
BOOL WINAPI PathRelativePathToA(_Out_writes_(MAX_PATH) LPSTR, _In_ LPCSTR, _In_ DWORD, _In_ LPCSTR, _In_ DWORD)
LPSTR WINAPI StrStrIA(_In_ LPCSTR pszFirst, _In_ LPCSTR pszSrch)
HRESULT WINAPI HashData(_In_reads_bytes_(cbData) const unsigned char *, DWORD cbData, _Out_writes_bytes_(cbHash) unsigned char *lpDest, DWORD cbHash)
DWORD WINAPI SHCopyKeyA(_In_ HKEY, _In_opt_ LPCSTR, _In_ HKEY, _Reserved_ DWORD)
DWORD WINAPI StrCatChainW(_Out_writes_(cchDst) LPWSTR, DWORD cchDst, DWORD, _In_ LPCWSTR)
URLIS
Definition: shlwapi.h:1190
@ URLIS_NOHISTORY
Definition: shlwapi.h:1193
@ URLIS_OPAQUE
Definition: shlwapi.h:1192
@ URLIS_APPLIABLE
Definition: shlwapi.h:1195
@ URLIS_DIRECTORY
Definition: shlwapi.h:1196
@ URLIS_FILEURL
Definition: shlwapi.h:1194
@ URLIS_URL
Definition: shlwapi.h:1191
@ URLIS_HASQUERY
Definition: shlwapi.h:1197
LPSTR WINAPI StrFormatByteSize64A(LONGLONG, _Out_writes_(cchBuf) LPSTR, UINT cchBuf)
BOOL WINAPI StrToInt64ExA(_In_ LPCSTR, DWORD, _Out_ LONGLONG *)
HRESULT WINAPI AssocQueryStringByKeyW(_In_ ASSOCF, _In_ ASSOCSTR, _In_ HKEY, _In_opt_ LPCWSTR, _Out_writes_opt_(*pcchOut) LPWSTR, _Inout_ LPDWORD pcchOut)
DWORD WINAPI SHRegGetPathA(_In_ HKEY, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _Out_writes_(MAX_PATH) LPSTR, _In_ DWORD)
BOOL WINAPI PathIsSameRootA(_In_ LPCSTR, _In_ LPCSTR)
struct IStream *WINAPI SHOpenRegStream2W(_In_ HKEY, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD)
BOOL WINAPI PathIsURLW(_In_ LPCWSTR)
BOOL WINAPI PathUnExpandEnvStringsW(_In_ LPCWSTR, _Out_writes_(cchBuf) LPWSTR, _In_ UINT cchBuf)
BOOL WINAPI PathUnmakeSystemFolderA(_In_ LPCSTR)
HRESULT WINAPI SHCreateThreadRef(_Inout_ LONG *, _Outptr_ IUnknown **)
HRESULT WINAPI UrlCombineW(_In_ LPCWSTR, _In_ LPCWSTR, _Out_writes_to_opt_(*pcchCombined, *pcchCombined) LPWSTR, _Inout_ LPDWORD pcchCombined, DWORD)
VOID WINAPI ColorRGBToHLS(COLORREF, _Out_ LPWORD, _Out_ LPWORD, _Out_ LPWORD)
LPCWSTR WINAPI PathFindSuffixArrayW(_In_ LPCWSTR, _In_reads_(iArraySize) LPCWSTR *, int iArraySize)
HRESULT WINAPI StrRetToBSTR(_Inout_ STRRET *, _In_opt_ PCUITEMID_CHILD, _Outptr_ BSTR *)
HKEY WINAPI SHRegDuplicateHKey(_In_ HKEY)
VOID WINAPI PathUnquoteSpacesW(_Inout_ LPWSTR)
BOOL WINAPI SHRegGetBoolUSValueW(_In_ LPCWSTR, _In_opt_ LPCWSTR, _In_ BOOL, _In_ BOOL)
BOOL WINAPI PathIsUNCA(_In_ LPCSTR)
HRESULT WINAPI AssocQueryKeyW(_In_ ASSOCF, _In_ ASSOCKEY, _In_ LPCWSTR, _In_opt_ LPCWSTR, _Out_ PHKEY)
DWORD WINAPI SHDeleteOrphanKeyW(HKEY, LPCWSTR)
Definition: reg.c:1703
BOOL WINAPI PathMatchSpecW(_In_ LPCWSTR, _In_ LPCWSTR)
BOOL WINAPI PathMakePrettyW(_Inout_ LPWSTR)
LPWSTR WINAPI StrStrNIW(_In_ LPCWSTR, _In_ LPCWSTR, UINT)
LPWSTR WINAPI StrChrW(_In_ LPCWSTR, WCHAR)
LPWSTR WINAPI StrRChrW(_In_ LPCWSTR, _In_opt_ LPCWSTR, WCHAR)
VOID WINAPI PathRemoveArgsA(_Inout_ LPSTR)
int WINAPI StrToIntW(_In_ LPCWSTR)
int WINAPI StrCmpIW(_In_ LPCWSTR, _In_ LPCWSTR)
BOOL WINAPI UrlIsNoHistoryW(_In_ LPCWSTR)
struct IQueryAssociations * LPQUERYASSOCIATIONS
Definition: shlwapi.h:647
HRESULT WINAPI UrlHashA(_In_ LPCSTR, _Out_writes_bytes_(cbHash) unsigned char *, DWORD cbHash)
struct tagPARSEDURLA PARSEDURLA
LPWSTR WINAPI StrCpyNW(_Out_writes_(cchMax) LPWSTR, _In_ LPCWSTR, int cchMax)
VOID WINAPI PathRemoveBlanksA(_Inout_ LPSTR)
BOOL WINAPI PathStripToRootA(_Inout_ LPSTR)
struct IStream *WINAPI SHOpenRegStreamW(_In_ HKEY, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_ DWORD)
BOOL WINAPI PathSearchAndQualifyW(_In_ LPCWSTR, _Out_writes_(cchBuf) LPWSTR, _In_ UINT cchBuf)
struct tagPARSEDURLW PARSEDURLW
HRESULT WINAPI AssocQueryKeyA(_In_ ASSOCF, _In_ ASSOCKEY, _In_ LPCSTR, _In_opt_ LPCSTR, _Out_ PHKEY)
LPWSTR WINAPI PathRemoveBackslashW(_Inout_ LPWSTR)
COLORREF WINAPI ColorHLSToRGB(WORD, WORD, WORD)
Definition: ordinal.c:3904
BOOL WINAPI PathIsSystemFolderW(_In_opt_ LPCWSTR, _In_ DWORD)
HRESULT WINAPI UrlCreateFromPathW(_In_ LPCWSTR, _Out_writes_to_(*pcchUrl, *pcchUrl) LPWSTR, _Inout_ LPDWORD pcchUrl, DWORD)
BOOL WINAPI PathMakePrettyA(_Inout_ LPSTR)
HRESULT WINAPI UrlGetPartA(_In_ LPCSTR, _Out_writes_(*pcchOut) LPSTR, _Inout_ LPDWORD pcchOut, DWORD, DWORD)
HRESULT WINAPI PathCreateFromUrlW(_In_ LPCWSTR pszUrl, _Out_writes_to_(*pcchPath, *pcchPath) LPWSTR pszPath, _Inout_ LPDWORD pcchPath, DWORD dwFlags)
BOOL WINAPI PathIsRootA(_In_ LPCSTR)
HRESULT WINAPI UrlCanonicalizeW(_In_ LPCWSTR, _Out_writes_to_(*pcchCanonicalized, *pcchCanonicalized) LPWSTR, _Inout_ LPDWORD pcchCanonicalized, DWORD)
HRESULT(CALLBACK * DLLGETVERSIONPROC)(DLLVERSIONINFO *)
Definition: shlwapi.h:1964
struct tagPARSEDURLA * PPARSEDURLA
BOOL WINAPI PathIsUNCServerShareW(_In_ LPCWSTR)
int WINAPI PathParseIconLocationA(_Inout_ LPSTR)
BOOL WINAPI StrToIntExA(_In_ LPCSTR, DWORD, _Out_ int *)
DWORD WINAPI SHGetValueW(_In_ HKEY, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _Out_opt_ LPDWORD, _Out_writes_bytes_opt_(*pcbData) LPVOID, _Inout_opt_ LPDWORD pcbData)
LONG WINAPI SHRegGetUSValueA(_In_ LPCSTR, _In_opt_ LPCSTR, _Inout_opt_ LPDWORD, _Out_writes_bytes_to_opt_(*pcbData, *pcbData) LPVOID, _Inout_opt_ LPDWORD pcbData, _In_ BOOL, _In_reads_bytes_opt_(dwDefaultDataSize) LPVOID, _In_ DWORD dwDefaultDataSize)
BOOL WINAPI PathCompactPathExW(_Out_writes_(cchMax) LPWSTR, _In_ LPCWSTR, _In_ UINT cchMax, _In_ DWORD)
INT WINAPI StrCSpnIW(_In_ LPCWSTR, _In_ LPCWSTR)
LONG WINAPI SHRegQueryInfoUSKeyW(_In_ HUSKEY, _Out_opt_ LPDWORD, _Out_opt_ LPDWORD, _Out_opt_ LPDWORD, _Out_opt_ LPDWORD, _In_ SHREGENUM_FLAGS)
int WINAPI StrSpnW(_In_ LPCWSTR psz, _In_ LPCWSTR pszSet)
INT WINAPI wvnsprintfA(_Out_writes_(cchDest) LPSTR, _In_ INT cchDest, _In_ _Printf_format_string_ LPCSTR, _In_ __ms_va_list)
HRESULT WINAPI UrlGetPartW(_In_ LPCWSTR, _Out_writes_(*pcchOut) LPWSTR, _Inout_ LPDWORD pcchOut, DWORD, DWORD)
HRESULT WINAPI ParseURLW(_In_ LPCWSTR pszUrl, _Inout_ PARSEDURLW *ppu)
BOOL WINAPI PathIsUNCServerShareA(_In_ LPCSTR)
BOOL WINAPI PathIsUNCW(_In_ LPCWSTR)
@ ASSOCF_REMAPRUNDLL
Definition: shlwapi.h:590
@ ASSOCF_IS_PROTOCOL
Definition: shlwapi.h:595
@ ASSOCF_INIT_FIXED_PROGID
Definition: shlwapi.h:594
@ ASSOCF_NOFIXUPS
Definition: shlwapi.h:591
@ ASSOCF_INIT_DEFAULTTOSTAR
Definition: shlwapi.h:585
@ ASSOCF_INIT_DEFAULTTOFOLDER
Definition: shlwapi.h:586
@ ASSOCF_IGNOREBASECLASS
Definition: shlwapi.h:592
@ ASSOCF_INIT_NOREMAPCLSID
Definition: shlwapi.h:582
@ ASSOCF_VERIFY
Definition: shlwapi.h:589
@ ASSOCF_INIT_IGNOREUNKNOWN
Definition: shlwapi.h:593
@ ASSOCF_NOUSERSETTINGS
Definition: shlwapi.h:587
@ ASSOCF_OPEN_BYEXENAME
Definition: shlwapi.h:584
@ ASSOCF_NONE
Definition: shlwapi.h:581
@ ASSOCF_INIT_FOR_FILE
Definition: shlwapi.h:596
@ ASSOCF_NOTRUNCATE
Definition: shlwapi.h:588
@ ASSOCF_INIT_BYEXENAME
Definition: shlwapi.h:583
DWORD WINAPI SHDeleteEmptyKeyW(_In_ HKEY, _In_opt_ LPCWSTR)
HRESULT WINAPI UrlUnescapeA(_Inout_ LPSTR, _Out_writes_to_opt_(*pcchUnescaped, *pcchUnescaped) LPSTR, _Inout_opt_ LPDWORD pcchUnescaped, DWORD)
BOOL WINAPI PathIsPrefixW(_In_ LPCWSTR, _In_ LPCWSTR)
BOOL WINAPI PathIsDirectoryEmptyW(_In_ LPCWSTR)
HRESULT WINAPI UrlApplySchemeA(_In_ LPCSTR, _Out_writes_(*pcchOut) LPSTR, _Inout_ LPDWORD pcchOut, DWORD)
BOOL WINAPI SHSkipJunction(_In_opt_ struct IBindCtx *, _In_ const CLSID *)
HRESULT WINAPI UrlEscapeA(_In_ LPCSTR, _Out_writes_to_(*pcchEscaped, *pcchEscaped) LPSTR, _Inout_ LPDWORD pcchEscaped, DWORD)
HRESULT WINAPI IUnknown_GetWindow(_In_ IUnknown *punk, _Out_ HWND *phwnd)
DWORD ASSOCF
Definition: shlwapi.h:599
BOOL WINAPI PathFileExistsW(_In_ LPCWSTR pszPath)
LPWSTR WINAPI StrPBrkW(_In_ LPCWSTR, _In_ LPCWSTR)
BOOL WINAPI ChrCmpIW(WCHAR, WCHAR)
Definition: string.c:217
LPWSTR WINAPI StrNCatW(_Inout_updates_(cchMax) LPWSTR, LPCWSTR, int cchMax)
VOID WINAPI PathQuoteSpacesA(_Inout_updates_(MAX_PATH) LPSTR)
VOID WINAPI PathUnquoteSpacesA(_Inout_ LPSTR)
INT WINAPI StrCSpnW(_In_ LPCWSTR, _In_ LPCWSTR)
BOOL WINAPI PathIsNetworkPathW(_In_ LPCWSTR)
HRESULT WINAPI StrRetToStrA(_Inout_ STRRET *, _In_opt_ PCUITEMID_CHILD, _Outptr_ LPSTR *)
LONG WINAPI SHRegQueryInfoUSKeyA(_In_ HUSKEY, _Out_opt_ LPDWORD, _Out_opt_ LPDWORD, _Out_opt_ LPDWORD, _Out_opt_ LPDWORD, _In_ SHREGENUM_FLAGS)
BOOL WINAPI IsOS(DWORD)
Definition: ordinal.c:4091
LONG WINAPI SHRegEnumUSValueW(_In_ HUSKEY, _In_ DWORD, _Out_writes_to_(*pcchValueName, *pcchValueName) LPWSTR, _Inout_ LPDWORD pcchValueName, _Out_opt_ LPDWORD, _Out_writes_bytes_to_opt_(*pcbData, *pcbData) LPVOID, _Inout_opt_ LPDWORD pcbData, _In_ SHREGENUM_FLAGS)
DWORD WINAPI SHDeleteValueW(_In_ HKEY, _In_opt_ LPCWSTR, _In_ LPCWSTR)
LONG WINAPI SHRegDeleteEmptyUSKeyA(_In_ HUSKEY, _In_ LPCSTR, _In_ SHREGDEL_FLAGS)
LPSTR WINAPI PathBuildRootA(_Out_writes_(4) LPSTR, int)
DWORD WINAPI SHRegSetPathA(_In_ HKEY, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ LPCSTR, _In_ DWORD)
ASSOCENUM
Definition: shlwapi.h:643
@ ASSOCENUM_NONE
Definition: shlwapi.h:644
LONG WINAPI SHRegEnumUSKeyA(_In_ HUSKEY, _In_ DWORD, _Out_writes_to_(*pcchName, *pcchName) LPSTR, _Inout_ LPDWORD pcchName, _In_ SHREGENUM_FLAGS)
UINT WINAPI PathGetCharTypeA(_In_ UCHAR ch)
INT WINAPI StrCSpnIA(_In_ LPCSTR, _In_ LPCSTR)
LPWSTR WINAPI PathFindFileNameW(_In_ LPCWSTR pszPath)
LONG WINAPI SHRegDeleteUSValueW(_In_ HUSKEY, _In_ LPCWSTR, _In_ SHREGDEL_FLAGS)
LONG WINAPI SHRegQueryUSValueW(_In_ HUSKEY, _In_opt_ LPCWSTR, _Inout_opt_ LPDWORD, _Out_writes_bytes_to_opt_(*pcbData, *pcbData) LPVOID, _Inout_opt_ LPDWORD pcbData, _In_ BOOL, _In_reads_bytes_opt_(dwDefaultDataSize) LPVOID, _In_opt_ DWORD dwDefaultDataSize)
HRESULT WINAPI AssocCreate(_In_ CLSID, _In_ REFIID, _Outptr_ LPVOID *)
LPSTR WINAPI StrRStrIA(_In_ LPCSTR, _In_opt_ LPCSTR, _In_ LPCSTR)
LONG WINAPI SHRegCloseUSKey(_In_ HUSKEY)
LPWSTR WINAPI PathSkipRootW(_In_ LPCWSTR)
BOOL WINAPI PathIsContentTypeW(_In_ LPCWSTR, _In_ LPCWSTR)
HRESULT WINAPI StrRetToStrW(_Inout_ STRRET *, _In_opt_ PCUITEMID_CHILD, _Outptr_ LPWSTR *)
BOOL WINAPI PathFileExistsAndAttributesW(LPCWSTR lpszPath, DWORD *dwAttr)
Definition: path.c:1832
int WINAPI PathGetDriveNumberA(_In_ LPCSTR)
struct QITAB * LPQITAB
BOOL WINAPI UrlIsOpaqueW(_In_ LPCWSTR)
DWORD WINAPI SHDeleteEmptyKeyA(_In_ HKEY, _In_opt_ LPCSTR)
LONG WINAPI SHEnumKeyExA(_In_ HKEY, _In_ DWORD, _Out_writes_(*pcchName) LPSTR, _Inout_ LPDWORD pcchName)
BOOL WINAPI PathIsDirectoryA(_In_ LPCSTR)
BOOL WINAPI PathIsUNCServerW(_In_ LPCWSTR)
LPSTR WINAPI PathSkipRootA(_In_ LPCSTR)
HRESULT WINAPI ParseURLA(_In_ LPCSTR pszUrl, _Inout_ PARSEDURLA *ppu)
INT WINAPI StrCSpnA(_In_ LPCSTR, _In_ LPCSTR)
LPWSTR WINAPI PathFindExtensionW(_In_ LPCWSTR pszPath)
BOOL WINAPI IsCharSpaceW(WCHAR)
Definition: string.c:2964
BOOL WINAPI StrTrimW(_Inout_ LPWSTR, _In_ LPCWSTR)
VOID WINAPI PathStripPathW(_Inout_ LPWSTR)
DWORD WINAPI SHQueryValueExW(_In_ HKEY, _In_opt_ LPCWSTR, _Reserved_ LPDWORD, _Out_opt_ LPDWORD, _Out_writes_bytes_to_opt_(*pcbData, *pcbData) LPVOID, _Inout_opt_ LPDWORD pcbData)
LPWSTR WINAPI StrFormatKBSizeW(LONGLONG, _Out_writes_(cchBuf) LPWSTR, UINT cchBuf)
BOOL WINAPI UrlIsNoHistoryA(_In_ LPCSTR)
DWORD WINAPI SHDeleteOrphanKeyA(HKEY, LPCSTR)
Definition: reg.c:1674
SHREGDEL_FLAGS
Definition: shlwapi.h:296
@ SHREGDEL_HKLM
Definition: shlwapi.h:299
@ SHREGDEL_BOTH
Definition: shlwapi.h:300
@ SHREGDEL_HKCU
Definition: shlwapi.h:298
@ SHREGDEL_DEFAULT
Definition: shlwapi.h:297
BOOL WINAPI PathIsLFNFileSpecA(_In_ LPCSTR)
UINT WINAPI PathGetCharTypeW(_In_ WCHAR ch)
LPWSTR WINAPI PathBuildRootW(_Out_writes_(4) LPWSTR, int)
DWORD WINAPI SHQueryValueExA(_In_ HKEY, _In_opt_ LPCSTR, _Reserved_ LPDWORD, _Out_opt_ LPDWORD, _Out_writes_bytes_to_opt_(*pcbData, *pcbData) LPVOID, _Inout_opt_ LPDWORD pcbData)
LPWSTR WINAPI StrCatBuffW(_Inout_updates_(cchDestBuffSize) LPWSTR, _In_ LPCWSTR, INT cchDestBuffSize)
DWORD WINAPI SHGetValueA(_In_ HKEY, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _Out_opt_ LPDWORD, _Out_writes_bytes_opt_(*pcbData) LPVOID, _Inout_opt_ LPDWORD pcbData)
BOOL WINAPI PathUnExpandEnvStringsA(_In_ LPCSTR, _Out_writes_(cchBuf) LPSTR, _In_ UINT cchBuf)
struct IStream *WINAPI SHOpenRegStreamA(_In_ HKEY, _In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_ DWORD)
INT WINAPI UrlCompareW(_In_ LPCWSTR, _In_ LPCWSTR, BOOL)
struct _DllVersionInfo DLLVERSIONINFO
LONG WINAPI SHRegOpenUSKeyA(_In_ LPCSTR, _In_ REGSAM, _In_opt_ HUSKEY, _Out_ PHUSKEY, _In_ BOOL)
LONG WINAPI SHRegWriteUSValueA(_In_ HUSKEY, _In_ LPCSTR, _In_ DWORD, _In_reads_bytes_(cbData) LPVOID, _In_ DWORD cbData, _In_ DWORD)
DWORD WINAPI SHRegGetPathW(_In_ HKEY, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _Out_writes_(MAX_PATH) LPWSTR, _In_ DWORD)
DWORD WINAPI SHDeleteKeyA(_In_ HKEY, _In_opt_ LPCSTR)
BOOL WINAPI PathIsLFNFileSpecW(_In_ LPCWSTR)
VOID WINAPI PathRemoveArgsW(_Inout_ LPWSTR)
HRESULT WINAPI UrlUnescapeW(_Inout_ LPWSTR, _Out_writes_to_opt_(*pcchUnescaped, *pcchUnescaped) LPWSTR, _Inout_opt_ LPDWORD pcchUnescaped, DWORD)
HRESULT WINAPI PathCreateFromUrlAlloc(_In_ LPCWSTR pszUrl, _Outptr_ LPWSTR *pszPath, DWORD dwReserved)
int WINAPI PathParseIconLocationW(_Inout_ LPWSTR)
HRESULT WINAPI UrlCanonicalizeA(_In_ LPCSTR, _Out_writes_to_(*pcchCanonicalized, *pcchCanonicalized) LPSTR, _Inout_ LPDWORD pcchCanonicalized, DWORD)
HRESULT WINAPI UrlCombineA(_In_ LPCSTR, _In_ LPCSTR, _Out_writes_to_opt_(*pcchCombined, *pcchCombined) LPSTR, _Inout_ LPDWORD pcchCombined, DWORD)
BOOL WINAPI PathIsFileSpecA(_In_ LPCSTR)
VOID WINAPI PathSetDlgItemPathA(_In_ HWND, int, LPCSTR)
BOOL WINAPI PathIsDirectoryW(_In_ LPCWSTR)
BOOL WINAPI PathIsSameRootW(_In_ LPCWSTR, _In_ LPCWSTR)
LPSTR WINAPI PathGetArgsA(_In_ LPCSTR pszPath)
const ITEMID_CHILD UNALIGNED * PCUITEMID_CHILD
Definition: shtypes.idl:70
const IID * piid
Definition: shlwapi.h:2074
DWORD dwOffset
Definition: shlwapi.h:2076
ULONGLONG DECLSPEC_ALIGN(8) ullVersion
DLLVERSIONINFO info1
Definition: shlwapi.h:1972
DWORD dwMajorVersion
Definition: shlwapi.h:1955
DWORD dwBuildNumber
Definition: shlwapi.h:1957
DWORD dwMinorVersion
Definition: shlwapi.h:1956
DWORD dwPlatformID
Definition: shlwapi.h:1958
Definition: scsiwmi.h:51
Definition: copy.c:22
UINT nScheme
Definition: shlwapi.h:1428
UINT cchSuffix
Definition: shlwapi.h:1427
LPCSTR pszSuffix
Definition: shlwapi.h:1426
UINT cchProtocol
Definition: shlwapi.h:1425
DWORD cbSize
Definition: shlwapi.h:1423
LPCSTR pszProtocol
Definition: shlwapi.h:1424
UINT cchProtocol
Definition: shlwapi.h:1434
LPCWSTR pszSuffix
Definition: shlwapi.h:1435
DWORD cbSize
Definition: shlwapi.h:1432
UINT nScheme
Definition: shlwapi.h:1437
UINT cchSuffix
Definition: shlwapi.h:1436
LPCWSTR pszProtocol
Definition: shlwapi.h:1433
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1830
unsigned char * LPBYTE
Definition: typedefs.h:53
uint16_t * LPWORD
Definition: typedefs.h:56
int64_t LONGLONG
Definition: typedefs.h:68
uint32_t * LPDWORD
Definition: typedefs.h:59
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
DWORD(WINAPI * LPTHREAD_START_ROUTINE)(LPVOID)
Definition: winbase.h:729
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082
_In_ DWORD _Out_writes_bytes_to_opt_ pcbData void _Inout_ DWORD * pcbData
Definition: wincrypt.h:4950
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
_In_ ULONG _In_opt_ PVOID pvData
Definition: winddi.h:3749
#define __ms_va_list
Definition: windef.h:456
DWORD COLORREF
Definition: windef.h:300
CONST void * LPCVOID
Definition: windef.h:191
#define HRESULT
Definition: msvc.h:7
#define WINAPI
Definition: msvc.h:6
ACCESS_MASK REGSAM
Definition: winreg.h:69
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
unsigned char UCHAR
Definition: xmlstorage.h:181
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
char CHAR
Definition: xmlstorage.h:175
unsigned char BYTE
Definition: xxhash.c:193