ReactOS  0.4.13-dev-464-g6b95727
shellapi.h
Go to the documentation of this file.
1 #ifndef _SHELLAPI_H
2 #define _SHELLAPI_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 #ifdef _MSC_VER
8 #pragma warning(push)
9 #pragma warning(disable:4201)
10 #endif
11 
12 #if !defined(_WIN64)
13 #include <pshpack1.h>
14 #endif
15 
16 #define WINSHELLAPI DECLSPEC_IMPORT
17 #define ABE_LEFT 0
18 #define ABE_TOP 1
19 #define ABE_RIGHT 2
20 #define ABE_BOTTOM 3
21 #define ABS_AUTOHIDE 1
22 #define ABS_ALWAYSONTOP 2
23 
24 #define SEE_MASK_DEFAULT 0x00000000
25 #define SEE_MASK_CLASSNAME 0x00000001
26 #define SEE_MASK_CLASSKEY 0x00000003
27 #define SEE_MASK_IDLIST 0x00000004
28 #define SEE_MASK_INVOKEIDLIST 0x0000000C
29 #define SEE_MASK_ICON 0x00000010
30 #define SEE_MASK_HOTKEY 0x00000020
31 #define SEE_MASK_NOCLOSEPROCESS 0x00000040
32 #define SEE_MASK_CONNECTNETDRV 0x00000080
33 #define SEE_MASK_NOASYNC 0x00000100
34 #define SEE_MASK_FLAG_DDEWAIT SEE_MASK_NOASYNC
35 #define SEE_MASK_DOENVSUBST 0x00000200
36 #define SEE_MASK_FLAG_NO_UI 0x00000400
37 #define SEE_MASK_UNICODE 0x00004000
38 #define SEE_MASK_NO_CONSOLE 0x00008000
39 /*
40  * NOTE: The following three flags are undocumented and are not present in the
41  * official Windows SDK. However they are used in shobjidl.idl to define some
42  * CMIC_MASK_* flags, these ones being mentioned in the MSDN documentation of
43  * the CMINVOKECOMMANDINFOEX structure.
44  * I affect them this range of values which seems to be strangely empty. Of
45  * course their values may differ from the real ones, however I have no way
46  * of discovering them. If somebody else can verify them, it would be great.
47  */
48 #define SEE_MASK_HASLINKNAME 0x00010000
49 #define SEE_MASK_HASTITLE 0x00020000
50 #define SEE_MASK_FLAG_SEPVDM 0x00040000
51 /* END NOTE */
52 #define SEE_MASK_ASYNCOK 0x00100000
53 #define SEE_MASK_HMONITOR 0x00200000
54 #define SEE_MASK_NOZONECHECKS 0x00800000
55 #define SEE_MASK_NOQUERYCLASSSTORE 0x01000000
56 #define SEE_MASK_WAITFORINPUTIDLE 0x02000000
57 #define SEE_MASK_FLAG_LOG_USAGE 0x04000000
58 
59 #define ABM_NEW 0
60 #define ABM_REMOVE 1
61 #define ABM_QUERYPOS 2
62 #define ABM_SETPOS 3
63 #define ABM_GETSTATE 4
64 #define ABM_GETTASKBARPOS 5
65 #define ABM_ACTIVATE 6
66 #define ABM_GETAUTOHIDEBAR 7
67 #define ABM_SETAUTOHIDEBAR 8
68 #define ABM_WINDOWPOSCHANGED 9
69 #define ABN_STATECHANGE 0
70 #define ABN_POSCHANGED 1
71 #define ABN_FULLSCREENAPP 2
72 #define ABN_WINDOWARRANGE 3
73 
74 #if (_WIN32_IE >= 0x0500)
75 #define NIN_SELECT (WM_USER + 0)
76 #define NINF_KEY 1
77 #define NIN_KEYSELECT (NIN_SELECT | NINF_KEY)
78 #endif
79 
80 #if (_WIN32_IE >= 0x0501)
81 #define NIN_BALLOONSHOW (WM_USER + 2)
82 #define NIN_BALLOONHIDE (WM_USER + 3)
83 #define NIN_BALLOONTIMEOUT (WM_USER + 4)
84 #define NIN_BALLOONUSERCLICK (WM_USER + 5)
85 #endif
86 #if (NTDDI_VERSION >= NTDDI_VISTA)
87 #define NIN_POPUPOPEN (WM_USER + 6)
88 #define NIN_POPUPCLOSE (WM_USER + 7)
89 #endif
90 
91 #define NIM_ADD 0
92 #define NIM_MODIFY 1
93 #define NIM_DELETE 2
94 #if _WIN32_IE >= 0x0500
95 #define NIM_SETFOCUS 3
96 #define NIM_SETVERSION 4
97 #define NOTIFYICON_VERSION 3
98 #if (NTDDI_VERSION >= NTDDI_VISTA)
99 #define NOTIFYICON_VERSION_4 4
100 #endif
101 #endif
102 #define NIF_MESSAGE 1
103 #define NIF_ICON 2
104 #define NIF_TIP 4
105 #if _WIN32_IE >= 0x0500
106 #define NIF_STATE 8
107 #define NIF_INFO 16
108 #define NIS_HIDDEN 1
109 #define NIS_SHAREDICON 2
110 #define NIIF_NONE 0
111 #define NIIF_INFO 1
112 #define NIIF_WARNING 2
113 #define NIIF_ERROR 3
114 #define NIIF_USER 4
115 #if _WIN32_IE >= 0x0600
116 #define NIF_GUID 32
117 #define NIIF_ICON_MASK 0xf
118 #define NIIF_NOSOUND 0x10
119 #endif /* _WIN32_IE >= 0x0600 */
120 #endif /* _WIN32_IE >= 0x0500 */
121 
122 #define SE_ERR_FNF 2
123 #define SE_ERR_PNF 3
124 #define SE_ERR_ACCESSDENIED 5
125 #define SE_ERR_OOM 8
126 #define SE_ERR_DLLNOTFOUND 32
127 #define SE_ERR_SHARE 26
128 #define SE_ERR_ASSOCINCOMPLETE 27
129 #define SE_ERR_DDETIMEOUT 28
130 #define SE_ERR_DDEFAIL 29
131 #define SE_ERR_DDEBUSY 30
132 #define SE_ERR_NOASSOC 31
133 #define FO_MOVE 1
134 #define FO_COPY 2
135 #define FO_DELETE 3
136 #define FO_RENAME 4
137 
138 #define FOF_MULTIDESTFILES 0x0001
139 #define FOF_CONFIRMMOUSE 0x0002
140 #define FOF_SILENT 0x0004
141 #define FOF_RENAMEONCOLLISION 0x0008
142 #define FOF_NOCONFIRMATION 0x0010
143 #define FOF_WANTMAPPINGHANDLE 0x0020
144 #define FOF_ALLOWUNDO 0x0040
145 #define FOF_FILESONLY 0x0080
146 #define FOF_SIMPLEPROGRESS 0x0100
147 #define FOF_NOCONFIRMMKDIR 0x0200
148 #define FOF_NOERRORUI 0x0400
149 #define FOF_NOCOPYSECURITYATTRIBS 0x0800
150 #define FOF_NORECURSION 0x1000 /* don't do recursion into directories */
151 #define FOF_NO_CONNECTED_ELEMENTS 0x2000 /* don't do connected files */
152 #define FOF_WANTNUKEWARNING 0x4000 /* during delete operation, warn if delete instead
153  of recycling (even if FOF_NOCONFIRMATION) */
154 #define FOF_NORECURSEREPARSE 0x8000 /* don't do recursion into reparse points */
155 
156 #define PO_DELETE 19
157 #define PO_RENAME 20
158 #define PO_PORTCHANGE 32
159 #define PO_REN_PORT 52
160 #define SHGFI_ADDOVERLAYS 32
161 #define SHGFI_OVERLAYINDEX 64
162 #define SHGFI_ICON 256
163 #define SHGSI_ICON SHGFI_ICON
164 #define SHGFI_DISPLAYNAME 512
165 #define SHGFI_TYPENAME 1024
166 #define SHGFI_ATTRIBUTES 2048
167 #define SHGFI_ICONLOCATION 4096
168 #define SHGFI_EXETYPE 8192
169 #define SHGFI_SYSICONINDEX 16384
170 #define SHGFI_LINKOVERLAY 32768
171 #define SHGFI_SELECTED 65536
172 #define SHGFI_ATTR_SPECIFIED 131072
173 #define SHGFI_LARGEICON 0
174 #define SHGFI_SMALLICON 1
175 #define SHGSI_SMALLICON SHGFI_SMALLICON
176 #define SHGFI_OPENICON 2
177 #define SHGFI_SHELLICONSIZE 4
178 #define SHGFI_PIDL 8
179 #define SHGFI_USEFILEATTRIBUTES 16
180 
181 #if (NTDDI_VERSION >= NTDDI_WINXP)
182 #define SHIL_LARGE 0x0
183 #define SHIL_SMALL 0x1
184 #define SHIL_EXTRALARGE 0x2
185 #define SHIL_SYSSMALL 0x3
186 #if (NTDDI_VERSION >= NTDDI_VISTA)
187 #define SHIL_JUMBO 0x4
188 #define SHIL_LAST SHIL_JUMBO
189 #else
190 #define SHIL_LAST SHIL_SYSSMALL
191 #endif
192 #endif
193 
194 typedef struct _SHCREATEPROCESSINFOW
195 {
210 
213 
214 typedef struct _AppBarData {
222 DECLARE_HANDLE(HDROP);
223 
224 typedef struct _NOTIFYICONDATAA {
231 #if (NTDDI_VERSION < NTDDI_WIN2K)
232  CHAR szTip[64];
233 #endif
234 #if (NTDDI_VERSION >= NTDDI_WIN2K)
235  CHAR szTip[128];
238  CHAR szInfo[256];
239  _ANONYMOUS_UNION union {
242  } DUMMYUNIONNAME;
245 #endif
246 #if (NTDDI_VERSION >= NTDDI_WINXP)
248 #endif
249 #if (NTDDI_VERSION >= NTDDI_VISTA)
251 #endif
253 
254 typedef struct _NOTIFYICONDATAW {
261 #if (NTDDI_VERSION < NTDDI_WIN2K)
262  WCHAR szTip[64];
263 #endif
264 #if (NTDDI_VERSION >= NTDDI_WIN2K)
265  WCHAR szTip[128];
268  WCHAR szInfo[256];
269  _ANONYMOUS_UNION union {
272  } DUMMYUNIONNAME;
275 #endif
276 #if (NTDDI_VERSION >= NTDDI_WINXP)
278 #endif
279 #if (NTDDI_VERSION >= NTDDI_VISTA)
281 #endif
283 
284 #define NOTIFYICONDATAA_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAA, szTip[64])
285 #define NOTIFYICONDATAW_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAW, szTip[64])
286 #define NOTIFYICONDATAA_V2_SIZE FIELD_OFFSET(NOTIFYICONDATAA, guidItem)
287 #define NOTIFYICONDATAW_V2_SIZE FIELD_OFFSET(NOTIFYICONDATAW, guidItem)
288 #define NOTIFYICONDATAA_V3_SIZE FIELD_OFFSET(NOTIFYICONDATAA, hBalloonIcon)
289 #define NOTIFYICONDATAW_V3_SIZE FIELD_OFFSET(NOTIFYICONDATAW, hBalloonIcon)
290 
291 #if WINVER >= 0x400
292 typedef struct _DRAGINFOA {
293  UINT uSize;
294  POINT pt;
295  BOOL fNC;
296  LPSTR lpFileList;
297  DWORD grfKeyState;
298 } DRAGINFOA,*LPDRAGINFOA;
299 typedef struct _DRAGINFOW {
300  UINT uSize;
301  POINT pt;
302  BOOL fNC;
303  LPWSTR lpFileList;
304  DWORD grfKeyState;
305 } DRAGINFOW,*LPDRAGINFOW;
306 #endif
307 
308 typedef struct _SHELLEXECUTEINFOA {
316  int nShow;
325 typedef struct _SHELLEXECUTEINFOW {
333  int nShow;
342 typedef struct _SHFILEOPSTRUCTA {
352 typedef struct _SHFILEOPSTRUCTW {
362 typedef struct _SHFILEINFOA {
364  int iIcon;
368 } SHFILEINFOA;
369 typedef struct _SHFILEINFOW {
371  int iIcon;
375 } SHFILEINFOW;
376 typedef struct _SHQUERYRBINFO {
381 typedef struct _SHNAMEMAPPINGA {
387 typedef struct _SHNAMEMAPPINGW {
393 
394 #define SHERB_NOCONFIRMATION 0x1
395 #define SHERB_NOPROGRESSUI 0x2
396 #define SHERB_NOSOUND 0x4
397 
398 /******************************************
399  * Links
400  */
401 
402 #define SHGNLI_PIDL 0x01
403 #define SHGNLI_PREFIXNAME 0x02
404 #define SHGNLI_NOUNIQUE 0x04
405 #define SHGNLI_NOLNK 0x08
406 
409 void WINAPI DragFinish(_In_ HDROP);
410 
411 _Success_(return != 0)
412 UINT
413 WINAPI
415  _In_ HDROP hDrop,
417  _Out_writes_opt_(cch) LPSTR lpszFile,
419 
420 _Success_(return != 0)
421 UINT
422 WINAPI
424  _In_ HDROP hDrop,
425  _In_ UINT iFile,
426  _Out_writes_opt_(cch) LPWSTR lpszFile,
427  _In_ UINT cch);
428 
430 
431 HICON
432 WINAPI
435  _Inout_updates_(128) LPSTR pszIconPath,
436  _Inout_ WORD *piIcon);
437 
438 HICON
439 WINAPI
442  _Inout_updates_(128) LPWSTR pszIconPath,
443  _Inout_ WORD *piIcon);
444 
445 HICON
446 WINAPI
449  _In_ LPCSTR pszExeFileName,
450  UINT nIconIndex);
451 
452 HICON
453 WINAPI
456  _In_ LPCWSTR pszExeFileName,
457  UINT nIconIndex);
458 
459 UINT
460 WINAPI
462  _In_ LPCSTR lpszFile,
463  _In_ int nIconIndex,
464  _Out_writes_opt_(nIcons) HICON *phiconLarge,
465  _Out_writes_opt_(nIcons) HICON *phiconSmall,
466  _In_ UINT nIcons);
467 
468 UINT
469 WINAPI
471  _In_ LPCWSTR lpszFile,
472  _In_ int nIconIndex,
473  _Out_writes_opt_(nIcons) HICON *phiconLarge,
474  _Out_writes_opt_(nIcons) HICON *phiconSmall,
475  _In_ UINT nIcons);
476 
477 _Success_(return > 32)
478 HINSTANCE
479 WINAPI
481  _In_ LPCSTR lpFile,
483  _Out_writes_(MAX_PATH) LPSTR lpResult);
484 
485 _Success_(return > 32)
486 HINSTANCE
487 WINAPI
489  _In_ LPCWSTR lpFile,
491  _Out_writes_(MAX_PATH) LPWSTR lpResult);
492 
496 
497 int
498 WINAPI
501  _In_ LPCSTR szApp,
502  _In_opt_ LPCSTR szOtherStuff,
504 
505 int
506 WINAPI
509  _In_ LPCWSTR szApp,
510  _In_opt_ LPCWSTR szOtherStuff,
512 
513 int
515  _In_opt_ HINSTANCE hAppInst,
517  _In_ LPCSTR lpcText,
518  _In_opt_ LPCSTR lpcTitle,
519  _In_ UINT fuStyle,
520  ...);
521 
522 int
524  _In_opt_ HINSTANCE hAppInst,
526  _In_ LPCWSTR lpcText,
527  _In_opt_ LPCWSTR lpcTitle,
528  _In_ UINT fuStyle,
529  ...);
530 
531 HINSTANCE
532 WINAPI
535  _In_opt_ LPCSTR lpOperation,
536  _In_ LPCSTR lpFile,
537  _In_opt_ LPCSTR lpParameters,
539  _In_ INT nShowCmd);
540 
541 HINSTANCE
542 WINAPI
545  _In_opt_ LPCWSTR lpOperation,
546  _In_ LPCWSTR lpFile,
547  _In_opt_ LPCWSTR lpParameters,
549  _In_ INT nShowCmd);
550 
556 
557 DWORD_PTR
558 WINAPI
560  _In_ LPCSTR pszPath,
562  _Inout_updates_bytes_opt_(cbFileInfo) SHFILEINFOA *psfi,
563  UINT cbFileInfo,
564  UINT uFlags);
565 
566 DWORD_PTR
567 WINAPI
569  _In_ LPCWSTR pszPath,
571  _Inout_updates_bytes_opt_(cbFileInfo) SHFILEINFOW *psfi,
572  UINT cbFileInfo,
573  UINT uFlags);
574 
575 _Success_(return != 0)
576 BOOL
577 WINAPI
579  _In_ LPCSTR pszLinkTo,
581  _Out_writes_(MAX_PATH) LPSTR pszName,
583  _In_ UINT uFlags);
584 
585 _Success_(return != 0)
586 BOOL
587 WINAPI
589  _In_ LPCWSTR pszLinkTo,
591  _Out_writes_(MAX_PATH) LPWSTR pszName,
593  _In_ UINT uFlags);
594 
595 HRESULT
596 WINAPI
598  _In_opt_ LPCSTR pszRootPath,
599  _Inout_ LPSHQUERYRBINFO pSHQueryRBInfo);
600 
601 HRESULT
602 WINAPI
604  _In_opt_ LPCWSTR pszRootPath,
605  _Inout_ LPSHQUERYRBINFO pSHQueryRBInfo);
606 
607 HRESULT
608 WINAPI
611  _In_opt_ LPCSTR pszRootPath,
612  DWORD dwFlags);
613 
614 HRESULT
615 WINAPI
618  _In_opt_ LPCWSTR pszRootPath,
619  DWORD dwFlags);
620 
622 
623 DWORD
624 WINAPI
626  _Inout_updates_(cchSrc) LPSTR pszSrc,
627  UINT cchSrc);
628 
629 DWORD
630 WINAPI
632  _Inout_updates_(cchSrc) LPWSTR pszSrc,
633  UINT cchSrc);
634 
635 #if (_WIN32_IE >= 0x0601)
636 BOOL
637 WINAPI
639  _In_opt_ HANDLE hToken,
640  _In_ ULONG ulRID);
641 #endif
642 
643 #ifdef UNICODE
644 #define NOTIFYICONDATA_V1_SIZE NOTIFYICONDATAW_V1_SIZE
645 #define NOTIFYICONDATA_V2_SIZE NOTIFYICONDATAW_V2_SIZE
646 #define NOTIFYICONDATA_V3_SIZE NOTIFYICONDATAW_V3_SIZE
648 typedef DRAGINFOW DRAGINFO,*LPDRAGINFO;
651 typedef SHFILEINFOW SHFILEINFO;
654 #define DragQueryFile DragQueryFileW
655 #define ExtractAssociatedIcon ExtractAssociatedIconW
656 #define ExtractIcon ExtractIconW
657 #define ExtractIconEx ExtractIconExW
658 #define FindExecutable FindExecutableW
659 #define Shell_NotifyIcon Shell_NotifyIconW
660 #define ShellAbout ShellAboutW
661 #define ShellExecute ShellExecuteW
662 #define ShellExecuteEx ShellExecuteExW
663 #define ShellMessageBox ShellMessageBoxW
664 #define SHFileOperation SHFileOperationW
665 #define SHGetFileInfo SHGetFileInfoW
666 #define SHQueryRecycleBin SHQueryRecycleBinW
667 #define SHEmptyRecycleBin SHEmptyRecycleBinW
668 #define SHGetNewLinkInfo SHGetNewLinkInfoW
669 #define DoEnvironmentSubst DoEnvironmentSubstW
670 
671 #else
672 #define NOTIFYICONDATA_V1_SIZE NOTIFYICONDATAA_V1_SIZE
673 #define NOTIFYICONDATA_V2_SIZE NOTIFYICONDATAA_V2_SIZE
674 #define NOTIFYICONDATA_V3_SIZE NOTIFYICONDATAA_V3_SIZE
676 typedef DRAGINFOA DRAGINFO,*LPDRAGINFO;
682 #define DragQueryFile DragQueryFileA
683 #define ExtractAssociatedIcon ExtractAssociatedIconA
684 #define ExtractIcon ExtractIconA
685 #define ExtractIconEx ExtractIconExA
686 #define FindExecutable FindExecutableA
687 #define Shell_NotifyIcon Shell_NotifyIconA
688 #define ShellAbout ShellAboutA
689 #define ShellExecute ShellExecuteA
690 #define ShellExecuteEx ShellExecuteExA
691 #define ShellMessageBox ShellMessageBoxA
692 #define SHFileOperation SHFileOperationA
693 #define SHGetFileInfo SHGetFileInfoA
694 #define SHQueryRecycleBin SHQueryRecycleBinA
695 #define SHEmptyRecycleBin SHEmptyRecycleBinA
696 #define SHGetNewLinkInfo SHGetNewLinkInfoA
697 #define DoEnvironmentSubst DoEnvironmentSubstA
698 #endif
699 
700 #if (NTDDI_VERSION >= NTDDI_VISTA)
701 
702 typedef struct _SHSTOCKICONINFO {
706  int iIcon;
709 
710 #define SHGSI_ICONLOCATION 0
711 
712 typedef enum SHSTOCKICONID
713 {
729  /* Missing: 14 */
733  /* Missing: 18 - 21 */
734  SIID_FIND = 22,
736  /* Missing: 24 - 27 */
742  /* Missing: 33 - 39 */
744  /* Missing: 41 - 46 */
745  SIID_LOCK = 47,
746  /* Missing: 48 */
805  /* Missing: 107 - 131 */
815  /* Missing: 141 - 174 */
817 } SHSTOCKICONID;
818 
819 #endif /* (NTDDI_VERSION >= NTDDI_VISTA) */
820 
821 #if !defined(_WIN64)
822 #include <poppack.h>
823 #endif
824 
825 #ifdef _MSC_VER
826 #pragma warning(pop)
827 #endif
828 #ifdef __cplusplus
829 }
830 #endif
831 #endif
_In_ UINT _In_ UINT cch
Definition: shellapi.h:418
HINSTANCE hInstApp
Definition: shellapi.h:334
struct _AppBarData * PAPPBARDATA
DWORD_PTR WINAPI SHGetFileInfoA(_In_ LPCSTR pszPath, DWORD dwFileAttributes, _Inout_updates_bytes_opt_(cbFileInfo) SHFILEINFOA *psfi, UINT cbFileInfo, UINT uFlags)
BOOL WINAPI SHGetNewLinkInfoA(LPCSTR pszLinkTo, LPCSTR pszDir, LPSTR pszName, BOOL *pfMustCopy, UINT uFlags)
Definition: shellord.c:1881
struct _SHFILEOPSTRUCTA * LPSHFILEOPSTRUCTA
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
#define IN
Definition: typedefs.h:38
BOOL WINAPI Shell_NotifyIconW(_In_ DWORD, _In_ PNOTIFYICONDATAW)
BOOL WINAPI SHGetNewLinkInfoW(LPCWSTR pszLinkTo, LPCWSTR pszDir, LPWSTR pszName, BOOL *pfMustCopy, UINT uFlags)
Definition: shellord.c:1900
return
Definition: dirsup.c:529
static HICON
Definition: imagelist.c:84
int WINAPI SHFileOperationA(_Inout_ LPSHFILEOPSTRUCTA)
DWORD cbSize
Definition: shellapi.h:377
WCHAR szInfo[256]
Definition: shellapi.h:268
struct _SHFILEINFOW SHFILEINFOW
IN DWORD dwCreationFlags
Definition: shellapi.h:206
EXTERN_C BOOL WINAPI SHTestTokenMembership(HANDLE TokenHandle, ULONG ulRID)
Definition: shellord.c:2089
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
PVOID hNameMappings
Definition: shellapi.h:359
DWORD dwAttributes
Definition: shellapi.h:372
void WINAPI DragAcceptFiles(_In_ HWND, _In_ BOOL)
#define pt(x, y)
Definition: drawing.c:79
FILEOP_FLAGS fFlags
Definition: shellapi.h:347
struct _SHNAMEMAPPINGA * LPSHNAMEMAPPINGA
#define _ANONYMOUS_UNION
Definition: ntbasedef.h:30
struct _SHFILEINFOA SHFILEINFOA
char CHAR
Definition: xmlstorage.h:175
_In_ LPCSTR _Out_ BOOL _In_ UINT uFlags
Definition: shellapi.h:582
BOOL WINAPI ShellExecuteExA(_Inout_ LPSHELLEXECUTEINFOA)
SHFILEINFOA SHFILEINFO
Definition: shellapi.h:679
SHELLEXECUTEINFOA SHELLEXECUTEINFO
Definition: shellapi.h:677
SIZE_T LPPROCESS_INFORMATION
Definition: cordebug.idl:86
HWND hWnd
Definition: settings.c:17
DECLARE_HANDLE(HDROP)
_ANONYMOUS_UNION union _NOTIFYICONDATAW::@3089 DUMMYUNIONNAME
DWORD dwInfoFlags
Definition: shellapi.h:244
SIZE_T LPSTARTUPINFOW
Definition: cordebug.idl:85
int WINAPI ShellAboutW(_In_opt_ HWND hWnd, _In_ LPCWSTR szApp, _In_opt_ LPCWSTR szOtherStuff, _In_opt_ HICON hIcon)
BOOL WINAPI Shell_NotifyIconA(_In_ DWORD, _In_ PNOTIFYICONDATAA)
UINT uCallbackMessage
Definition: shellapi.h:217
HRESULT WINAPI SHQueryRecycleBinW(_In_opt_ LPCWSTR pszRootPath, _Inout_ LPSHQUERYRBINFO pSHQueryRBInfo)
DWORD_PTR WINAPI SHGetFileInfoW(_In_ LPCWSTR pszPath, DWORD dwFileAttributes, _Inout_updates_bytes_opt_(cbFileInfo) SHFILEINFOW *psfi, UINT cbFileInfo, UINT uFlags)
DRAGINFOA DRAGINFO
Definition: shellapi.h:676
HWND hWnd
Definition: shellapi.h:216
void WINAPI DragFinish(_In_ HDROP)
char * LPSTR
Definition: xmlstorage.h:182
FILEOP_FLAGS fFlags
Definition: shellapi.h:357
WCHAR szTypeName[80]
Definition: shellapi.h:374
int32_t INT
Definition: typedefs.h:56
SHFILEOPSTRUCTA SHFILEOPSTRUCT
Definition: shellapi.h:678
LPARAM lParam
Definition: shellapi.h:220
#define _In_opt_
Definition: no_sal2.h:213
_ANONYMOUS_UNION union _NOTIFYICONDATAA::@3088 DUMMYUNIONNAME
struct _SHFILEOPSTRUCTW SHFILEOPSTRUCTW
BOOL fAnyOperationsAborted
Definition: shellapi.h:358
HICON hBalloonIcon
Definition: shellapi.h:280
struct _NOTIFYICONDATAA * PNOTIFYICONDATAA
int ShellMessageBoxW(_In_opt_ HINSTANCE hAppInst, _In_opt_ HWND hWnd, _In_ LPCWSTR lpcText, _In_opt_ LPCWSTR lpcTitle, _In_ UINT fuStyle,...)
UINT uCallbackMessage
Definition: shellapi.h:259
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD dwStateMask
Definition: shellapi.h:237
HINSTANCE WINAPI ShellExecuteW(_In_opt_ HWND hwnd, _In_opt_ LPCWSTR lpOperation, _In_ LPCWSTR lpFile, _In_opt_ LPCWSTR lpParameters, _In_opt_ LPCWSTR lpDirectory, _In_ INT nShowCmd)
HRESULT WINAPI SHEmptyRecycleBinA(_In_opt_ HWND hwnd, _In_opt_ LPCSTR pszRootPath, DWORD dwFlags)
HINSTANCE hInstApp
Definition: shellapi.h:317
LPCWSTR lpDirectory
Definition: shellapi.h:332
struct _AppBarData APPBARDATA
#define _Inout_updates_bytes_opt_(size)
Definition: no_sal2.h:290
HICON WINAPI ExtractAssociatedIconA(_Reserved_ HINSTANCE hInst, _Inout_updates_(128) LPSTR pszIconPath, _Inout_ WORD *piIcon)
DWORD WINAPI DoEnvironmentSubstW(_Inout_updates_(cchSrc) LPWSTR pszSrc, UINT cchSrc)
CHAR szTip[128]
Definition: shellapi.h:235
LPCSTR lpszProgressTitle
Definition: shellapi.h:350
struct _SHELLEXECUTEINFOA SHELLEXECUTEINFOA
LPCWSTR lpszProgressTitle
Definition: shellapi.h:360
OUT LPPROCESS_INFORMATION lpProcessInformation
Definition: shellapi.h:208
_In_opt_ LPCSTR _Out_writes_(MAX_PATH) LPSTR lpResult)
#define _Out_
Definition: no_sal2.h:323
LONG_PTR LPARAM
Definition: windef.h:208
BOOL WINAPI SHCreateProcessAsUserW(_Inout_ PSHCREATEPROCESSINFOW)
UINT WINAPI ExtractIconExA(_In_ LPCSTR lpszFile, _In_ int nIconIndex, _Out_writes_opt_(nIcons) HICON *phiconLarge, _Out_writes_opt_(nIcons) HICON *phiconSmall, _In_ UINT nIcons)
DWORD cbSize
Definition: shellapi.h:215
const char * LPCSTR
Definition: xmlstorage.h:183
int ShellMessageBoxA(_In_opt_ HINSTANCE hAppInst, _In_opt_ HWND hWnd, _In_ LPCSTR lpcText, _In_opt_ LPCSTR lpcTitle, _In_ UINT fuStyle,...)
struct _NOTIFYICONDATAW * PNOTIFYICONDATAW
NOTIFYICONDATAA NOTIFYICONDATA
Definition: shellapi.h:675
LPWSTR *WINAPI CommandLineToArgvW(_In_ LPCWSTR, _Out_ int *)
IN LPSTARTUPINFOW lpStartupInfo
Definition: shellapi.h:207
IN HANDLE hUserToken
Definition: shellapi.h:202
HICON WINAPI ExtractIconA(_Reserved_ HINSTANCE hInst, _In_ LPCSTR pszExeFileName, UINT nIconIndex)
LPSTR pszNewPath
Definition: shellapi.h:383
_In_opt_ LPCSTR lpDirectory
Definition: shellapi.h:482
__int64 i64Size
Definition: shellapi.h:378
UINT WINAPI DragQueryFileA(HDROP hDrop, UINT lFile, LPSTR lpszFile, UINT lLength)
Definition: shellole.c:572
struct _SHQUERYRBINFO SHQUERYRBINFO
struct _SHCREATEPROCESSINFOW SHCREATEPROCESSINFOW
CHAR szDisplayName[MAX_PATH]
Definition: shellapi.h:366
LPWSTR pszNewPath
Definition: shellapi.h:389
BOOL WINAPI ShellExecuteExW(_Inout_ LPSHELLEXECUTEINFOW)
SHSTOCKICONID
Definition: shellapi.h:712
__wchar_t WCHAR
Definition: xmlstorage.h:180
LPCSTR lpParameters
Definition: shellapi.h:314
LONG HRESULT
Definition: typedefs.h:77
WCHAR szInfoTitle[64]
Definition: shellapi.h:273
HICON WINAPI ExtractIconW(_Reserved_ HINSTANCE hInst, _In_ LPCWSTR pszExeFileName, UINT nIconIndex)
HRESULT WINAPI SHQueryRecycleBinA(_In_opt_ LPCSTR pszRootPath, _Inout_ LPSHQUERYRBINFO pSHQueryRBInfo)
_In_ LPCSTR pszDir
Definition: shellapi.h:580
struct _SHELLEXECUTEINFOA * LPSHELLEXECUTEINFOA
#define MAX_PATH
Definition: compat.h:26
#define WINAPI
Definition: msvc.h:8
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
#define _Inout_
Definition: no_sal2.h:244
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
HRESULT WINAPI SHEmptyRecycleBinW(_In_opt_ HWND hwnd, _In_opt_ LPCWSTR pszRootPath, DWORD dwFlags)
DWORD dwInfoFlags
Definition: shellapi.h:274
struct _SHFILEOPSTRUCTW * LPSHFILEOPSTRUCTW
struct _SHFILEOPSTRUCTA SHFILEOPSTRUCTA
HINSTANCE WINAPI FindExecutableA(LPCSTR lpFile, LPCSTR lpDirectory, LPSTR lpResult)
Definition: shlexec.cpp:1169
BOOL fAnyOperationsAborted
Definition: shellapi.h:348
HINSTANCE WINAPI FindExecutableW(LPCWSTR lpFile, LPCWSTR lpDirectory, LPWSTR lpResult)
Definition: shlexec.cpp:1212
#define _Reserved_
Definition: no_sal2.h:573
PVOID hNameMappings
Definition: shellapi.h:349
LPCWSTR pFrom
Definition: shellapi.h:355
DWORD dwStateMask
Definition: shellapi.h:267
void WINAPI SHFreeNameMappings(_In_opt_ HANDLE)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
WCHAR szDisplayName[MAX_PATH]
Definition: shellapi.h:373
struct _SHCREATEPROCESSINFOW * PSHCREATEPROCESSINFOW
struct _SHNAMEMAPPINGW * LPSHNAMEMAPPINGW
IN LPSECURITY_ATTRIBUTES lpProcessAttributes
Definition: shellapi.h:203
uint32_t DWORD_PTR
Definition: typedefs.h:63
LPCWSTR pszCurrentDirectory
Definition: shellapi.h:201
HICON hIcon
Definition: shellapi.h:370
LPCSTR lpDirectory
Definition: shellapi.h:315
HICON hBalloonIcon
Definition: shellapi.h:250
struct _NOTIFYICONDATAW NOTIFYICONDATAW
struct _SHQUERYRBINFO * LPSHQUERYRBINFO
UINT uCallbackMessage
Definition: shellapi.h:229
struct _SHNAMEMAPPINGA SHNAMEMAPPINGA
NOTIFYICONDATAA * PNOTIFYICONDATA
Definition: shellapi.h:675
#define _In_
Definition: no_sal2.h:204
_In_ LPCSTR _Out_ BOOL * pfMustCopy
Definition: shellapi.h:582
HINSTANCE hInst
Definition: dxdiag.c:13
DWORD WINAPI DoEnvironmentSubstA(_Inout_updates_(cchSrc) LPSTR pszSrc, UINT cchSrc)
DRAGINFOA * LPDRAGINFO
Definition: shellapi.h:676
SHFILEOPSTRUCTA * LPSHFILEOPSTRUCT
Definition: shellapi.h:678
UINT_PTR WINAPI SHAppBarMessage(_In_ DWORD, _Inout_ PAPPBARDATA)
SHNAMEMAPPINGA SHNAMEMAPPING
Definition: shellapi.h:680
HICON hIcon
Definition: msconfig.c:44
LPCWSTR lpParameters
Definition: shellapi.h:331
_In_ UINT _Out_writes_opt_(cch) LPSTR lpszFile
int WINAPI ShellAboutA(_In_opt_ HWND hWnd, _In_ LPCSTR szApp, _In_opt_ LPCSTR szOtherStuff, _In_opt_ HICON hIcon)
struct _SHELLEXECUTEINFOW * LPSHELLEXECUTEINFOW
SHELLEXECUTEINFOA * LPSHELLEXECUTEINFO
Definition: shellapi.h:677
WCHAR szPath[MAX_PATH]
Definition: shellapi.h:707
unsigned int UINT
Definition: ndis.h:50
HINSTANCE WINAPI ShellExecuteA(_In_opt_ HWND hwnd, _In_opt_ LPCSTR lpOperation, _In_ LPCSTR lpFile, _In_opt_ LPCSTR lpParameters, _In_opt_ LPCSTR lpDirectory, _In_ INT nShowCmd)
struct _SHELLEXECUTEINFOW SHELLEXECUTEINFOW
IN BOOL bInheritHandles
Definition: shellapi.h:205
_In_ ULONG _In_ ULONG _Inout_updates_(8 *8) ULONG *pul)
Definition: winddi.h:3522
CHAR szInfo[256]
Definition: shellapi.h:238
struct _SHSTOCKICONINFO SHSTOCKICONINFO
DWORD dwFileAttributes
#define OUT
Definition: typedefs.h:39
_In_ ULONG_PTR iFile
Definition: winddi.h:3835
LPWSTR pszOldPath
Definition: shellapi.h:388
HICON hIcon
Definition: shellapi.h:363
unsigned int ULONG
Definition: retypes.h:1
WORD PRINTEROP_FLAGS
Definition: shellapi.h:212
WORD FILEOP_FLAGS
Definition: shellapi.h:211
LPSHNAMEMAPPINGA LPSHNAMEMAPPING
Definition: shellapi.h:681
WCHAR * LPWSTR
Definition: xmlstorage.h:184
DWORD dwAttributes
Definition: shellapi.h:365
__int64 i64NumItems
Definition: shellapi.h:379
CHAR szTypeName[80]
Definition: shellapi.h:367
int WINAPI SHFileOperationW(_Inout_ LPSHFILEOPSTRUCTW)
WCHAR szTip[128]
Definition: shellapi.h:265
IN LPSECURITY_ATTRIBUTES lpThreadAttributes
Definition: shellapi.h:204
UINT WINAPI DragQueryFileW(HDROP hDrop, UINT lFile, LPWSTR lpszwFile, UINT lLength)
Definition: shellole.c:627
CHAR szInfoTitle[64]
Definition: shellapi.h:243
_Success_(return !=0) UINT WINAPI DragQueryFileA(_In_ HDROP hDrop
Definition: fsctrl.c:3139
UINT uEdge
Definition: shellapi.h:218
UINT WINAPI ExtractIconExW(_In_ LPCWSTR lpszFile, _In_ int nIconIndex, _Out_writes_opt_(nIcons) HICON *phiconLarge, _Out_writes_opt_(nIcons) HICON *phiconSmall, _In_ UINT nIcons)
BOOL WINAPI DragQueryPoint(_In_ HDROP, _Out_ LPPOINT)
#define __int64
Definition: basetyps.h:16
HICON WINAPI ExtractAssociatedIconW(_Reserved_ HINSTANCE hInst, _Inout_updates_(128) LPWSTR pszIconPath, _Inout_ WORD *piIcon)
struct _SHNAMEMAPPINGW SHNAMEMAPPINGW
struct _NOTIFYICONDATAA NOTIFYICONDATAA
LPSTR pszOldPath
Definition: shellapi.h:382