ReactOS 0.4.15-dev-7961-gdcf9eb0
undocshell.h
Go to the documentation of this file.
1/*
2 * Copyright 1999, 2000 Juergen Schmied
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19#ifndef __WINE_UNDOCSHELL_H
20#define __WINE_UNDOCSHELL_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif /* defined(__cplusplus) */
25
26#if (NTDDI_VERSION < NTDDI_LONGHORN)
27#define DBIMF_NOGRIPPER 0x0800
28#define DBIMF_ALWAYSGRIPPER 0x1000
29#define DBIMF_NOMARGINS 0x2000
30#endif // NTDDI_LONGHORN
31
32#if defined (_SHELLAPI_H) || defined (_INC_SHELLAPI)
33
34/****************************************************************************
35 * Taskbar interface WM_COPYDATA structures
36 * See http://www.geoffchappell.com/studies/windows/shell/shell32/api/shlnot/copydata.htm
37 */
38/* Data structure for Shell_NotifyIcon messages */
39typedef struct _TRAYNOTIFYDATAW
40{
41 DWORD dwSignature;
42 DWORD dwMessage;
43 NOTIFYICONDATAW nid; // Always use the latest NOTIFYICONDATAW structure version.
44} TRAYNOTIFYDATAW, *PTRAYNOTIFYDATAW;
45// Note: One could also introduce TRAYNOTIFYDATAA
46
47#define NI_NOTIFY_SIG 0x34753423 /* TRAYNOTIFYDATA */
48
49#endif /* defined (_SHELLAPI_H) || defined (_INC_SHELLAPI) */
50
51/****************************************************************************
52 * Taskbar WM_COMMAND identifiers
53 */
54#define TWM_DOEXITWINDOWS (WM_USER + 342)
55#define TWM_CYCLEFOCUS (WM_USER + 348)
56
57/****************************************************************************
58 * ProgMan messages
59 */
60#define WM_PROGMAN_OPENSHELLSETTINGS (WM_USER + 22) /* wParam specifies the dialog (and tab page) */
61
62/****************************************************************************
63 * IDList Functions
64 */
66 LPCITEMIDLIST pidl,
67 LPVOID path);
68
69/* type parameter for ILGetDisplayNameEx() */
70#define ILGDN_FORPARSING 0
71#define ILGDN_NORMAL 1
72#define ILGDN_INFOLDER 2
73
75 LPSHELLFOLDER psf,
76 LPCITEMIDLIST pidl,
78 DWORD type);
79
84
87 LPITEMIDLIST * ppidl,
88 DWORD *attributes);
89
92 LPITEMIDLIST * ppidl,
93 DWORD *attributes);
94
95/*
96 string functions
97*/
100
101/****************************************************************************
102 * SHChangeNotifyRegister API
103 */
104#define SHCNRF_InterruptLevel 0x0001
105#define SHCNRF_ShellLevel 0x0002
106#define SHCNRF_RecursiveInterrupt 0x1000 /* Must be combined with SHCNRF_InterruptLevel */
107#define SHCNRF_NewDelivery 0x8000 /* Messages use shared memory */
108
109/****************************************************************************
110 * SHChangeNotify
111 */
112
114{
116 // More info,,,
118
119//
120// Add missing types for print job notifications.
121//
122#define SHCNF_PRINTJOBA 0x0004
123#define SHCNF_PRINTJOBW 0x0007
124
125
126/****************************************************************************
127 * Shell Common Dialogs
128 */
129
130/* RunFileDlg flags */
131#define RFF_NOBROWSE 0x01 /* Removes the browse button */
132#define RFF_NODEFAULT 0x02 /* No default item selected */
133#define RFF_CALCDIRECTORY 0x04 /* Calculates the working directory from the file name */
134#define RFF_NOLABEL 0x08 /* Removes the edit box label */
135#define RFF_NOSEPARATEMEM 0x20 /* Removes the Separate Memory Space check box (Windows NT only) */
136
137/* RunFileFlg notification value and structure */
138#define RFN_VALIDATE (-510)
139#if 0 // Deprecated ANSI structure
140typedef struct _NMRUNFILEDLGA
141{
142 NMHDR hdr;
143 LPCSTR lpFile;
145 UINT nShow;
146} NMRUNFILEDLGA, *PNMRUNFILEDLGA, *LPNMRUNFILEDLGA;
147#endif
148typedef struct _NMRUNFILEDLGW
149{
155
159
160/* RunFileDlg notification return values */
161#define RF_OK 0x00
162#define RF_CANCEL 0x01
163#define RF_RETRY 0x02
164
165void WINAPI RunFileDlg(
166 HWND hWndOwner,
167 HICON hIcon,
168 LPCWSTR lpstrDirectory,
169 LPCWSTR lpstrTitle,
170 LPCWSTR lpstrDescription,
171 UINT uFlags);
172
173int WINAPI LogoffWindowsDialog(HWND hWndOwner);
174void WINAPI ExitWindowsDialog(HWND hWndOwner);
175
177 LPCITEMIDLIST pidlRoot,
178 LPCITEMIDLIST pidlSavedSearch);
179
180void WINAPI SHHandleDiskFull(HWND hwndOwner,
181 UINT uDrive);
182
184 HWND hwndOwner,
185 LPCSTR lpCaption,
186 UINT uType);
187
189 HWND hwndOwner,
190 LPCWSTR lpstrRemoteName,
191 DWORD dwType);
192
194
195/****************************************************************************
196 * Cabinet Window Messages
197 */
198
199#define CWM_SETPATH (WM_USER + 2)
200#define CWM_WANTIDLE (WM_USER + 3)
201#define CWM_GETSETCURRENTINFO (WM_USER + 4)
202#define CWM_SELECTITEM (WM_USER + 5)
203#define CWM_SELECTITEMSTR (WM_USER + 6)
204#define CWM_GETISHELLBROWSER (WM_USER + 7)
205#define CWM_TESTPATH (WM_USER + 9)
206#define CWM_STATECHANGE (WM_USER + 10)
207#define CWM_GETPATH (WM_USER + 12)
208
209#define WM_GETISHELLBROWSER CWM_GETISHELLBROWSER
210
211/* CWM_TESTPATH types */
212#define CWTP_ISEQUAL 0
213#define CWTP_ISCHILD 1
214
215/* CWM_TESTPATH structure */
216typedef struct
217{
221
222/****************************************************************************
223 * System Imagelist Routines
224 */
225
227 LPCSTR lpszFileName,
228 int nIconIndex,
229 UINT bSimulateDoc);
230
232 HIMAGELIST *lphimlLarge,
233 HIMAGELIST *lphimlSmall);
234
237 LPCSTR lpszPath,
239 UINT uFlags);
240
241BOOL WINAPI FileIconInit(BOOL bFullInit);
242
245 _In_ HANDLE hHandle,
247 _In_ WORD wIndex,
248 _Out_ LPWORD lpSize,
249 _Out_ LPHANDLE lpIcon);
250
253 _In_ HANDLE hHandle,
255 _In_ WORD wIndex,
256 _Out_ LPWORD lpSize,
257 _Out_ LPHANDLE lpIcon);
258
259/****************************************************************************
260 * File Menu Routines
261 */
262
263/* FileMenu_Create nSelHeight constants */
264#define FM_DEFAULT_SELHEIGHT -1
265#define FM_FULL_SELHEIGHT 0
266
267/* FileMenu_Create flags */
268#define FMF_SMALL_ICONS 0x00
269#define FMF_LARGE_ICONS 0x08
270#define FMF_NO_COLUMN_BREAK 0x10
271
273 COLORREF crBorderColor,
274 int nBorderWidth,
275 HBITMAP hBorderBmp,
276 int nSelHeight,
277 UINT uFlags);
278
279void WINAPI FileMenu_Destroy(HMENU hMenu);
280
281/* FileMenu_AppendItem constants */
282#define FM_SEPARATOR (LPCSTR)1
283#define FM_BLANK_ICON -1
284#define FM_DEFAULT_HEIGHT 0
285
287 HMENU hMenu,
288 LPCSTR lpszText,
289 UINT uID,
290 int iIcon,
291 HMENU hMenuPopup,
292 int nItemHeight);
293
294/* FileMenu_InsertUsingPidl flags */
295#define FMF_NO_EMPTY_ITEM 0x01
296#define FMF_NO_PROGRAM_GROUPS 0x04
297
298/* FileMenu_InsertUsingPidl callback function */
299typedef void (CALLBACK *LPFNFMCALLBACK)(LPCITEMIDLIST pidlFolder, LPCITEMIDLIST pidlFile);
300
302 HMENU hMenu,
303 UINT uID,
304 LPCITEMIDLIST pidl,
305 UINT uFlags,
306 UINT uEnumFlags,
307 LPFNFMCALLBACK lpfnCallback);
308
310 HMENU hMenu,
311 UINT uID,
312 LPCITEMIDLIST pidl,
313 UINT uEnumFlags,
314 LPFNFMCALLBACK lpfnCallback);
315
317
319 HMENU hMenu,
320 LPCITEMIDLIST pidl);
321
323 HMENU hMenu,
324 UINT uFlags,
325 int x,
326 int y,
327 HWND hWnd,
328 LPTPMPARAMS lptpm);
329
331 UINT uReserved,
332 LPCITEMIDLIST *ppidlFolder,
333 LPCITEMIDLIST *ppidlItem);
334
336 HWND hWnd,
337 LPMEASUREITEMSTRUCT lpmis);
338
340 HWND hWnd,
341 LPDRAWITEMSTRUCT lpdis);
342
344
346
348 HMENU hMenu,
349 WPARAM wParam);
350
352
354 HMENU hMenu,
355 UINT uID);
356
358 HMENU hMenu,
359 UINT uPos);
360
362 HMENU hMenu,
363 UINT uID);
364
366
368 HMENU hMenu,
369 UINT uID,
370 BOOL bEnable);
371
373 HMENU hMenu,
374 UINT uPos);
375
377 HMENU hMenu,
378 LPCITEMIDLIST pidl,
379 BOOL bAddSeparator);
380
382 HMENU hMenu,
383 UINT uReserved,
384 UINT uID,
385 LPCITEMIDLIST pidl,
386 UINT uFlags,
387 UINT uEnumFlags,
388 LPFNFMCALLBACK lpfnCallback);
389
390/****************************************************************************
391 * Drag And Drop Routines
392 */
393
395 HWND hWnd,
396 LPDROPTARGET lpDropTarget);
397
399
401
403 HWND hWnd,
404 POINT pt);
405
407
408/****************************************************************************
409 * Path Manipulation Routines
410 */
411
412BOOL WINAPI PathAppendAW(LPVOID lpszPath1, LPCVOID lpszPath2);
413
414LPVOID WINAPI PathCombineAW(LPVOID szDest, LPCVOID lpszDir, LPCVOID lpszFile);
415
417
419
421
423
425
427
429
431
433
435
437
439
441
443
445
447
449
451 LPVOID lpszBuffer,
452 DWORD dwBuffSize,
453 LPCVOID lpszShortName,
454 LPCVOID lpszLongName,
455 LPCVOID lpszPathName);
456
458 LPWSTR lpszBuffer,
459 LPCWSTR lpszPathName,
460 LPCWSTR lpszShortName,
461 LPCWSTR lpszLongName);
462
466
467/* PathResolve flags */
468#define PRF_CHECKEXISTANCE 0x01
469#define PRF_EXECUTABLE 0x02
470#define PRF_QUALIFYONPATH 0x04
471#define PRF_WINDOWS31 0x08
472
475BOOL WINAPI PathResolveAW(LPVOID lpszPath, LPCVOID *alpszPaths, DWORD dwFlags);
476
478
479/* PathProcessCommand flags */
480#define PPCF_QUOTEPATH 0x01 /* implies PPCF_INCLUDEARGS */
481#define PPCF_INCLUDEARGS 0x02
482//#define PPCF_NODIRECTORIES 0x10 move to shlobj
483#define PPCF_DONTRESOLVE 0x20
484#define PPCF_PATHISRELATIVE 0x40
485
487 DWORD dwBuffSize, DWORD dwFlags);
488
490
492
494
496
498
500
502
503BOOL WINAPI PathIsEqualOrSubFolder(_In_ LPCWSTR pszFile1OrCSIDL, _In_ LPCWSTR pszFile2);
504
507
508/****************************************************************************
509 * Shell File Operations error codes - SHFileOperationA/W
510 */
511
512/* Error codes could be pre-Win32 */
513#define DE_SAMEFILE 0x71
514#define DE_MANYSRC1DEST 0x72
515#define DE_DIFFDIR 0x73
516#define DE_ROOTDIR 0x74
517#define DE_OPCANCELLED 0x75
518#define DE_DESTSUBTREE 0x76
519#define DE_ACCESSDENIEDSRC 0x78
520#define DE_PATHTOODEEP 0x79
521#define DE_MANYDEST 0x7A
522#define DE_INVALIDFILES 0x7C
523#define DE_DESTSAMETREE 0x7D
524#define DE_FLDDESTISFILE 0x7E
525#define DE_FILEDESTISFLD 0x80
526#define DE_FILENAMETOOLONG 0x81
527#define DE_DEST_IS_CDROM 0x82
528#define DE_DEST_IS_DVD 0x83
529#define DE_DEST_IS_CDRECORD 0x84
530#define DE_FILE_TOO_LARGE 0x85
531#define DE_SRC_IS_CDROM 0x86
532#define DE_SRC_IS_DVD 0x87
533#define DE_SRC_IS_CDRECORD 0x88
534// #define DE_ERROR_MAX
535#define ERRORONDEST 0x10000
536
537/****************************************************************************
538 * Shell Namespace Routines
539 */
540
541/* Generic structure used by several messages */
542typedef struct
543{
549typedef const SFVCBINFO * LPCSFVCBINFO;
550
551/* SFVCB_SELECTIONCHANGED structure */
552typedef struct
553{
560
561/* SFVCB_COPYHOOKCALLBACK structure */
562typedef struct
563{
573
574/* SFVCB_GETDETAILSOF structure */
575typedef struct
576{
578 int fmt;
579 int cx;
582
583/****************************************************************************
584 * Misc Stuff
585 */
586
588RegenerateUserEnvironment(LPVOID *lpEnvironment, BOOL bUpdateSelf);
589
590/* SHWaitForFileToOpen flags */
591#define SHWFF_ADD 0x01
592#define SHWFF_REMOVE 0x02
593#define SHWFF_WAIT 0x04
594
596 LPCITEMIDLIST pidl,
599
603 LPCRECT lpRect,
604 WORD cKids,
605 CONST HWND * lpKids);
606
607/* Flags for ShellExecCmdLine */
608#define SECL_NO_UI 0x2
609#define SECL_LOG_USAGE 0x8
610#define SECL_USE_IDLIST 0x10
611#define SECL_ALLOW_NONEXE 0x20
612#define SECL_RUNAS 0x40
613
615 HWND hwnd,
616 LPCWSTR pwszCommand,
617 LPCWSTR pwszStartDir,
618 int nShow,
619 LPVOID pUnused,
620 DWORD dwSeclFlags);
621
625 _In_opt_ LPCSTR lpOperation,
626 _In_opt_ LPCSTR lpFile,
627 _In_opt_ LPCSTR lpParameters,
629 _In_opt_ LPSTR lpReturn,
631 _In_opt_ LPVOID lpReserved,
632 _In_ INT nCmdShow,
633 _Out_opt_ PHANDLE lphProcess);
634
638 _In_opt_ LPCWSTR lpOperation,
639 _In_opt_ LPCWSTR lpFile,
640 _In_opt_ LPCWSTR lpParameters,
642 _In_opt_ LPWSTR lpReturn,
644 _In_opt_ LPVOID lpReserved,
645 _In_ INT nCmdShow,
646 _Out_opt_ PHANDLE lphProcess);
647
651 _In_opt_ LPCSTR lpOperation,
652 _In_opt_ LPCSTR lpFile,
653 _In_opt_ LPCSTR lpParameters,
655 _In_opt_ LPSTR lpReturn,
657 _In_opt_ LPVOID lpReserved,
658 _In_ INT nCmdShow,
659 _Out_opt_ PHANDLE lphProcess,
661
665 _In_opt_ LPCWSTR lpOperation,
666 _In_opt_ LPCWSTR lpFile,
667 _In_opt_ LPCWSTR lpParameters,
669 _In_opt_ LPWSTR lpReturn,
671 _In_opt_ LPVOID lpReserved,
672 _In_ INT nCmdShow,
673 _Out_opt_ PHANDLE lphProcess,
675
676/* RegisterShellHook types */
677#define RSH_DEREGISTER 0
678#define RSH_REGISTER 1
679#define RSH_REGISTER_PROGMAN 2
680#define RSH_REGISTER_TASKMAN 3
681
683 HWND hWnd,
684 DWORD dwType);
685
686/* SHCreateDefClassObject callback function */
688 LPUNKNOWN pUnkOuter,
689 REFIID riidObject,
691
693 REFIID riidFactory,
694 LPVOID *ppvFactory,
695 LPFNCDCOCALLBACK lpfnCallback,
696 LPDWORD lpdwUsage,
697 REFIID riidObject);
698
700
701/* SHCreateLinks flags */
702#define SHCLF_PREFIXNAME 0x01
703#define SHCLF_CREATEONDESKTOP 0x02
704
706 HWND hWnd,
707 LPCSTR lpszDir,
708 LPDATAOBJECT lpDataObject,
709 UINT uFlags,
710 LPITEMIDLIST *lppidlLinks);
711
714
715/* policy functions */
717
718#define CSIDL_FOLDER_MASK 0x00ff
719
720/* Utility functions */
721#include <stdio.h>
722
723#define SMC_EXEC 4
725
728HRESULT WINAPI SHGetImageList(int iImageList, REFIID riid, void **ppv);
729
731 _In_ PCSTR psz,
732 _Out_ LPGUID pguid);
734 _In_ PCWSTR psz,
735 _Out_ LPGUID pguid);
736
739
740/* Flags for Int64ToString and LargeIntegerToString */
741#define FMT_USE_NUMDIGITS 0x01
742#define FMT_USE_LEADZERO 0x02
743#define FMT_USE_GROUPING 0x04
744#define FMT_USE_DECIMAL 0x08
745#define FMT_USE_THOUSAND 0x10
746#define FMT_USE_NEGNUMBER 0x20
747
750 _In_ LONGLONG llValue,
751 _Out_writes_z_(cchOut) LPWSTR pszOut,
752 _In_ UINT cchOut,
753 _In_ BOOL bUseFormat,
754 _In_opt_ const NUMBERFMTW *pNumberFormat,
755 _In_ DWORD dwNumberFlags);
756
759 _In_ const LARGE_INTEGER *pLargeInt,
760 _Out_writes_z_(cchOut) LPWSTR pszOut,
761 _In_ UINT cchOut,
762 _In_ BOOL bUseFormat,
763 _In_opt_ const NUMBERFMTW *pNumberFormat,
764 _In_ DWORD dwNumberFlags);
765
768 _In_ DWORD dwNumber,
769 _Out_writes_(0x8FFF) LPWSTR pszBuffer);
770
773
775
778 _In_z_ LPCWSTR pszName,
781
785
788 _In_ HWND hwnd,
791 _In_ INT cmdshow);
792
794
795/*****************************************************************************
796 * Shell32 resources
797 */
798// these resources are in shell32.dll
799#define IDB_GOBUTTON_NORMAL 0x0e6
800#define IDB_GOBUTTON_HOT 0x0e7
801
802// band ids in internet toolbar
803#define ITBBID_MENUBAND 1
804#define ITBBID_BRANDBAND 5
805#define ITBBID_TOOLSBAND 2
806#define ITBBID_ADDRESSBAND 4
807
808// commands in the CGID_PrivCITCommands command group handled by the internet toolbar
809// there seems to be some support for hiding the menubar and an auto hide feature that are
810// unavailable in the UI
811#define ITID_TEXTLABELS 3
812#define ITID_TOOLBARBANDSHOWN 4
813#define ITID_ADDRESSBANDSHOWN 5
814#define ITID_LINKSBANDSHOWN 6
815#define ITID_MENUBANDSHOWN 12
816#define ITID_AUTOHIDEENABLED 13
817#define ITID_CUSTOMIZEENABLED 20
818#define ITID_TOOLBARLOCKED 27
819
820// commands in the CGID_BrandCmdGroup command group handled by the brand band
821#define BBID_STARTANIMATION 1
822#define BBID_STOPANIMATION 2
823
824// undocumented flags for IShellMenu::SetShellFolder
825#define SMSET_UNKNOWN08 0x08
826#define SMSET_UNKNOWN10 0x10
827
828// explorer tray commands
829#define TRAYCMD_STARTMENU 305
830#define TRAYCMD_RUN_DIALOG 401
831#define TRAYCMD_LOGOFF_DIALOG 402
832#define TRAYCMD_CASCADE 403
833#define TRAYCMD_TILE_H 404
834#define TRAYCMD_TILE_V 405
835#define TRAYCMD_TOGGLE_DESKTOP 407
836#define TRAYCMD_DATE_AND_TIME 408
837#define TRAYCMD_TASKBAR_PROPERTIES 413
838#define TRAYCMD_MINIMIZE_ALL 415
839#define TRAYCMD_RESTORE_ALL 416
840#define TRAYCMD_SHOW_DESKTOP 419
841#define TRAYCMD_SHOW_TASK_MGR 420
842#define TRAYCMD_CUSTOMIZE_TASKBAR 421
843#define TRAYCMD_LOCK_TASKBAR 424
844#define TRAYCMD_HELP_AND_SUPPORT 503
845#define TRAYCMD_CONTROL_PANEL 505
846#define TRAYCMD_SHUTDOWN_DIALOG 506
847#define TRAYCMD_PRINTERS_AND_FAXES 510
848#define TRAYCMD_LOCK_DESKTOP 517
849#define TRAYCMD_SWITCH_USER_DIALOG 5000
850#define TRAYCMD_SEARCH_FILES 41093
851#define TRAYCMD_SEARCH_COMPUTERS 41094
852
853// Explorer Tray Application Bar Data Message Commands
854#define TABDMC_APPBAR 0
855#define TABDMC_NOTIFY 1
856#define TABDMC_LOADINPROC 2
857
858void WINAPI ShellDDEInit(BOOL bInit);
860
862
863HRESULT WINAPI SHCreateSessionKey(REGSAM samDesired, PHKEY phKey);
864
866 HKEY hkey,
867 LPCSTR lpValueName,
868 LPDWORD lpReserved,
869 LPDWORD lpType,
870 LPBYTE lpData,
871 LPDWORD lpcbData);
873 HKEY hkey,
874 LPCWSTR pszValue,
876 LPDWORD pdwType,
879#ifdef UNICODE
880 #define SHRegQueryValueEx SHRegQueryValueExW
881#else
882 #define SHRegQueryValueEx SHRegQueryValueExA
883#endif
884
887 _In_ IStream *pSrc,
888 _Out_ IStream *pDst,
889 _Inout_opt_ IProgressDialog *pProgress,
890 _In_opt_ DWORDLONG dwlSize);
891
892/*****************************************************************************
893 * INVALID_FILETITLE_CHARACTERS
894 */
895
896#define INVALID_FILETITLE_CHARACTERSA "\\/:*?\"<>|"
897#define INVALID_FILETITLE_CHARACTERSW L"\\/:*?\"<>|"
898
899#ifdef UNICODE
900 #define INVALID_FILETITLE_CHARACTERS INVALID_FILETITLE_CHARACTERSW
901#else
902 #define INVALID_FILETITLE_CHARACTERS INVALID_FILETITLE_CHARACTERSA
903#endif
904
905/*****************************************************************************
906 * Shell Link
907 */
908#include <pshpack1.h>
909
911{
912 /* The size of this structure (always 0x0000004C) */
914 /* CLSID = class identifier (always 00021401-0000-0000-C000-000000000046) */
916 /* Flags (SHELL_LINK_DATA_FLAGS) */
918 /* Informations about the link target: */
923 DWORD nFileSizeLow; /* only the least significant 32 bits */
924 /* The index of an icon (signed?) */
926 /* The expected window state of an application launched by the link */
928 /* The keystrokes used to launch the application */
930 /* Reserved (must be zero) */
935
936/*****************************************************************************
937 * SHELL_LINK_INFOA/W
938 * If cbHeaderSize == 0x0000001C then use SHELL_LINK_INFOA
939 * If cbHeaderSize >= 0x00000024 then use SHELL_LINK_INFOW
940 */
942{
943 /* Size of the link info data */
945 /* Size of this structure (ANSI: = 0x0000001C) */
947 /* Specifies which fields are present/populated (SLI_*) */
949 /* Offset of the VolumeID field (SHELL_LINK_INFO_VOLUME_ID) */
951 /* Offset of the LocalBasePath field (ANSI, NULL-terminated string) */
953 /* Offset of the CommonNetworkRelativeLink field (SHELL_LINK_INFO_CNR_LINK) */
955 /* Offset of the CommonPathSuffix field (ANSI, NULL-terminated string) */
958
960{
961 /* Size of the link info data */
963 /* Size of this structure (Unicode: >= 0x00000024) */
965 /* Specifies which fields are present/populated (SLI_*) */
967 /* Offset of the VolumeID field (SHELL_LINK_INFO_VOLUME_ID) */
969 /* Offset of the LocalBasePath field (ANSI, NULL-terminated string) */
971 /* Offset of the CommonNetworkRelativeLink field (SHELL_LINK_INFO_CNR_LINK) */
973 /* Offset of the CommonPathSuffix field (ANSI, NULL-terminated string) */
975 /* Offset of the LocalBasePathUnicode field (Unicode, NULL-terminated string) */
977 /* Offset of the CommonPathSuffixUnicode field (Unicode, NULL-terminated string) */
980
981/* VolumeID, LocalBasePath, LocalBasePathUnicode(cbHeaderSize >= 0x24) are present */
982#define SLI_VALID_LOCAL 0x00000001
983/* CommonNetworkRelativeLink is present */
984#define SLI_VALID_NETWORK 0x00000002
985
986/*****************************************************************************
987 * SHELL_LINK_INFO_VOLUME_IDA/W
988 * If cbVolumeLabelOffset != 0x00000014 (should be 0x00000010) then use
989 * SHELL_LINK_INFO_VOLUME_IDA
990 * If cbVolumeLabelOffset == 0x00000014 then use SHELL_LINK_INFO_VOLUME_IDW
991 */
993{
994 /* Size of the VolumeID field (> 0x00000010) */
996 /* Drive type of the drive the link target is stored on (DRIVE_*) */
998 /* Serial number of the volume the link target is stored on */
1000 /* Offset of the volume label (ANSI, NULL-terminated string).
1001 Must be != 0x00000014 (see tagSHELL_LINK_INFO_VOLUME_IDW) */
1004
1006{
1007 /* Size of the VolumeID field (> 0x00000010) */
1009 /* Drive type of the drive the link target is stored on (DRIVE_*) */
1011 /* Serial number of the volume the link target is stored on */
1013 /* Offset of the volume label (ANSI, NULL-terminated string).
1014 If the value of this field is 0x00000014, ignore it and use
1015 cbVolumeLabelUnicodeOffset! */
1017 /* Offset of the volume label (Unicode, NULL-terminated string).
1018 If the value of the VolumeLabelOffset field is not 0x00000014,
1019 this field must be ignored (==> it doesn't exists ==> ANSI). */
1022
1023/*****************************************************************************
1024 * SHELL_LINK_INFO_CNR_LINKA/W (CNR = Common Network Relative)
1025 * If cbNetNameOffset == 0x00000014 then use SHELL_LINK_INFO_CNR_LINKA
1026 * If cbNetNameOffset > 0x00000014 then use SHELL_LINK_INFO_CNR_LINKW
1027 */
1029{
1030 /* Size of the CommonNetworkRelativeLink field (>= 0x00000014) */
1032 /* Specifies which fields are present/populated (SLI_CNR_*) */
1034 /* Offset of the NetName field (ANSI, NULL–terminated string) */
1036 /* Offset of the DeviceName field (ANSI, NULL–terminated string) */
1038 /* Type of the network provider (WNNC_NET_* defined in winnetwk.h) */
1041
1043{
1044 /* Size of the CommonNetworkRelativeLink field (>= 0x00000014) */
1046 /* Specifies which fields are present/populated (SLI_CNR_*) */
1048 /* Offset of the NetName field (ANSI, NULL–terminated string) */
1050 /* Offset of the DeviceName field (ANSI, NULL–terminated string) */
1052 /* Type of the network provider (WNNC_NET_* defined in winnetwk.h) */
1054 /* Offset of the NetNameUnicode field (Unicode, NULL–terminated string) */
1056 /* Offset of the DeviceNameUnicode field (Unicode, NULL–terminated string) */
1059
1060/* DeviceName is present */
1061#define SLI_CNR_VALID_DEVICE 0x00000001
1062/* NetworkProviderType is present */
1063#define SLI_CNR_VALID_NET_TYPE 0x00000002
1064
1065/*****************************************************************************
1066 * Shell Link Extra Data (IShellLinkDataList)
1067 */
1068typedef struct tagEXP_TRACKER
1069{
1070 /* .cbSize = 0x00000060, .dwSignature = 0xa0000003 */
1072 /* Length >= 0x00000058 */
1074 /* Must be 0x00000000 */
1076 /* NetBIOS name (ANSI, unused bytes are set to zero) */
1077 CHAR szMachineID[16]; /* "variable" >= 16 (?) */
1078 /* Some GUIDs for the Link Tracking service (from the FS?) */
1084
1085typedef struct tagEXP_SHIM
1086{
1087 /* .cbSize >= 0x00000088, .dwSignature = 0xa0000008 */
1089 /* Name of a shim layer to apply (Unicode, unused bytes are set to zero) */
1090 WCHAR szwLayerName[64]; /* "variable" >= 64 */
1092
1094{
1095 /* .cbSize = 0x0000001c, .dwSignature = 0xa000000b */
1097 /* A GUID value that identifies a known folder */
1099 /* Specifies the location of the ItemID of the first child
1100 segment of the IDList specified by guidKnownFolder */
1103
1105{
1106 /* .cbSize >= 0x0000000a, .dwSignature = 0xa000000c */
1108 /* Specifies an alternate IDList that can be used instead
1109 of the "normal" IDList (SLDF_HAS_ID_LIST) */
1110 /* LPITEMIDLIST pIDList; (variable) */
1112
1113#define EXP_TRACKER_SIG 0xa0000003
1114#define EXP_SHIM_SIG 0xa0000008
1115#define EXP_KNOWN_FOLDER_SIG 0xa000000b
1116#define EXP_VISTA_ID_LIST_SIG 0xa000000c
1117
1118/* Not compatible yet */
1120{
1126
1127#include <poppack.h>
1128
1129#ifdef __cplusplus
1130} /* extern "C" */
1131#endif /* defined(__cplusplus) */
1132
1133#endif /* __WINE_UNDOCSHELL_H */
DWORD dwFileAttributes
#define ShellExecCmdLine
HWND hWnd
Definition: settings.c:17
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
static HWND hwndParent
Definition: cryptui.c:300
TCHAR lpTitle[80]
Definition: ctm.c:69
UINT uFlags
Definition: api.c:59
#define CALLBACK
Definition: compat.h:35
#define pt(x, y)
Definition: drawing.c:79
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLbitfield flags
Definition: glext.h:7161
GLenum GLsizei len
Definition: glext.h:6722
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
unsigned long long DWORDLONG
Definition: intsafe.h:93
char hdr[14]
Definition: iptest.cpp:33
NOTIFYICONDATA nid
Definition: magnifier.c:44
LPCWSTR szPath
Definition: env.c:37
static HBITMAP
Definition: button.c:44
static HINSTANCE hinst
Definition: edit.c:551
static HICON
Definition: imagelist.c:84
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:63
WORD unused[29]
Definition: crypt.c:1155
#define _Out_opt_
Definition: ms_sal.h:346
#define _Out_writes_z_(size)
Definition: ms_sal.h:352
#define _In_z_
Definition: ms_sal.h:313
#define _Out_writes_(size)
Definition: ms_sal.h:348
#define _Inout_opt_
Definition: ms_sal.h:379
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
HICON hIcon
Definition: msconfig.c:44
_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
static LPUNKNOWN
Definition: ndr_ole.c:49
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
interface IDataObject * LPDATAOBJECT
Definition: objfwd.h:21
#define CONST
Definition: pedump.c:81
long LONG
Definition: pedump.c:60
#define REFIID
Definition: guiddef.h:118
_In_opt_ LPCSTR lpDirectory
Definition: shellapi.h:484
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Definition: shtypes.idl:41
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
TCHAR * cmdline
Definition: stretchblt.cpp:32
ITEMIDLIST idl
Definition: undocshell.h:219
LPDWORD lpdwUser
Definition: undocshell.h:547
DWORD dwReserved
Definition: undocshell.h:544
LPCITEMIDLIST pidl
Definition: undocshell.h:546
DWORD dwReserved2
Definition: undocshell.h:545
LPCITEMIDLIST pidl
Definition: undocshell.h:577
STRRET lpText
Definition: undocshell.h:580
DWORD dwDestAttribs
Definition: undocshell.h:570
DWORD dwSrcAttribs
Definition: undocshell.h:568
LPCSTR pszSrcFile
Definition: undocshell.h:567
LPCSTR pszDestFile
Definition: undocshell.h:569
LPCITEMIDLIST pidl
Definition: undocshell.h:556
LPDWORD lpdwUser
Definition: undocshell.h:557
LPCWSTR lpFile
Definition: undocshell.h:151
LPCWSTR lpDirectory
Definition: undocshell.h:152
DATABLOCK_HEADER dbh
Definition: undocshell.h:1096
WCHAR szwLayerName[64]
Definition: undocshell.h:1090
DATABLOCK_HEADER dbh
Definition: undocshell.h:1088
CHAR szMachineID[16]
Definition: undocshell.h:1077
GUID guidDroidObject
Definition: undocshell.h:1080
DATABLOCK_HEADER dbh
Definition: undocshell.h:1071
GUID guidDroidBirthVolume
Definition: undocshell.h:1081
GUID guidDroidVolume
Definition: undocshell.h:1079
GUID guidDroidBirthObject
Definition: undocshell.h:1082
DATABLOCK_HEADER dbh
Definition: undocshell.h:1107
const uint16_t * PCWSTR
Definition: typedefs.h:57
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
const char * PCSTR
Definition: typedefs.h:52
uint32_t ULONG
Definition: typedefs.h:59
LPITEMIDLIST WINAPI SHSimpleIDListFromPathA(LPCSTR lpszPath)
Definition: pidl.c:1102
int WINAPI FileMenu_AppendFilesForPidl(HMENU hMenu, LPCITEMIDLIST pidl, BOOL bAddSeparator)
Definition: shlmenu.c:478
LONG WINAPI SHRegQueryValueExW(HKEY hkey, LPCWSTR pszValue, LPDWORD pdwReserved, LPDWORD pdwType, LPVOID pvData, LPDWORD pcbData)
Definition: shellreg.c:108
LPVOID WINAPI PathBuildRootAW(LPVOID lpszPath, int drive)
BOOL WINAPI DAD_DragEnter(HWND hWnd)
Definition: shellord.c:1548
BOOL WINAPI PathIsTemporaryA(_In_ LPCSTR Str)
BOOL WINAPI GUIDFromStringA(_In_ PCSTR psz, _Out_ LPGUID pguid)
struct SFVSELECTSTATE * LPSFVSELECTSTATE
BOOL WINAPI FileMenu_DeleteItemByIndex(HMENU hMenu, UINT uPos)
Definition: shlmenu.c:727
BOOL WINAPI SHSettingsChanged(LPCVOID unused, LPCWSTR pszKey)
Definition: shpolicy.c:174
BOOL WINAPI IsSuspendAllowed(VOID)
Definition: utils.cpp:626
int WINAPI FileMenu_AddFilesForPidl(HMENU hMenu, UINT uReserved, UINT uID, LPCITEMIDLIST pidl, UINT uFlags, UINT uEnumFlags, LPFNFMCALLBACK lpfnCallback)
Definition: shlmenu.c:504
BOOL WINAPI SHFindComputer(LPCITEMIDLIST pidlRoot, LPCITEMIDLIST pidlSavedSearch)
Definition: utils.cpp:740
struct tagSHELL_LINK_INFO_VOLUME_IDW * LPSHELL_LINK_INFO_VOLUME_IDW
struct SFVCBINFO * LPSFVCBINFO
int WINAPI FileMenu_ReplaceUsingPidl(HMENU hMenu, UINT uID, LPCITEMIDLIST pidl, UINT uEnumFlags, LPFNFMCALLBACK lpfnCallback)
Definition: shlmenu.c:439
struct tagSHELL_LINK_INFOW SHELL_LINK_INFOW
const SFVCBINFO * LPCSFVCBINFO
Definition: undocshell.h:549
VOID WINAPI PathQualifyA(LPSTR pszPath)
Definition: shellpath.c:808
LPITEMIDLIST WINAPI ILGlobalClone(LPCITEMIDLIST pidl)
Definition: pidl.c:469
BOOL WINAPI PathIsExeAW(LPCVOID lpszPath)
Definition: shellpath.c:557
HRESULT WINAPI SHCreateDefClassObject(REFIID riidFactory, LPVOID *ppvFactory, LPFNCDCOCALLBACK lpfnCallback, LPDWORD lpdwUsage, REFIID riidObject)
struct _NMRUNFILEDLGW * PNMRUNFILEDLGW
struct tagSHELL_LINK_INFO_CNR_LINKW SHELL_LINK_INFO_CNR_LINKW
struct SFVCOPYHOOKINFO * LPSFVCOPYHOOKINFO
LPVOID WINAPI PathGetExtensionAW(LPCVOID lpszPath, DWORD void1, DWORD void2)
struct CWTESTPATHSTRUCT * LPCWTESTPATHSTRUCT
LPVOID WINAPI PathFindExtensionAW(LPCVOID path)
int WINAPI LogoffWindowsDialog(HWND hWndOwner)
Definition: dialogs.cpp:1545
HINSTANCE WINAPI RealShellExecuteW(_In_opt_ HWND hwnd, _In_opt_ LPCWSTR lpOperation, _In_opt_ LPCWSTR lpFile, _In_opt_ LPCWSTR lpParameters, _In_opt_ LPCWSTR lpDirectory, _In_opt_ LPWSTR lpReturn, _In_opt_ LPCWSTR lpTitle, _In_opt_ LPVOID lpReserved, _In_ INT nCmdShow, _Out_opt_ PHANDLE lphProcess)
Definition: shlexec.cpp:2846
BOOL WINAPI PathMatchSpecAW(LPVOID lpszPath, LPVOID lpszSpec)
BOOL WINAPI FileMenu_InitMenuPopup(HMENU hMenu)
Definition: shlmenu.c:646
HRESULT WINAPI SHLimitInputCombo(HWND hWnd, IShellFolder *psf)
BOOL WINAPI FileMenu_TrackPopupMenuEx(HMENU hMenu, UINT uFlags, int x, int y, HWND hWnd, LPTPMPARAMS lptpm)
Definition: shlmenu.c:524
void WINAPI PathUnquoteSpacesAW(LPVOID lpszPath)
HRESULT WINAPI SHRegisterDragDrop(HWND hWnd, LPDROPTARGET lpDropTarget)
Definition: shellord.c:541
HRESULT WINAPI SHILCreateFromPathW(LPCWSTR path, LPITEMIDLIST *ppidl, DWORD *attributes)
Definition: pidl.c:401
struct _SHCNF_PRINTJOB_INFO * PSHCNF_PRINTJOB_INFO
BOOL WINAPI RegisterShellHook(HWND hWnd, DWORD dwType)
Definition: shellord.c:312
LPWSTR WINAPI ShortSizeFormatW(_In_ DWORD dwNumber, _Out_writes_(0x8FFF) LPWSTR pszBuffer)
Definition: utils.cpp:472
BOOL WINAPI FileMenu_DeleteSeparator(HMENU hMenu)
Definition: shlmenu.c:761
BOOL WINAPI StrRetToStrNW(LPWSTR, DWORD, LPSTRRET, const ITEMIDLIST *)
Definition: shellstring.c:85
void WINAPI SHFreeUnusedLibraries(void)
Definition: shellord.c:1530
DWORD WINAPI FileMenu_GetItemExtent(HMENU hMenu, UINT uPos)
Definition: shlmenu.c:785
HRESULT WINAPI SHInvokePrivilegedFunctionW(_In_z_ LPCWSTR pszName, _In_ PRIVILEGED_FUNCTION fn, _In_opt_ LPARAM lParam)
void WINAPI PathStripPathAW(LPVOID lpszPath)
struct tagSHELL_LINK_INFOA * LPSHELL_LINK_INFOA
HRESULT WINAPI SHCreatePropertyBag(_In_ REFIID riid, _Out_ void **ppvObj)
Definition: utils.cpp:679
VOID WINAPI PathSetDlgItemPathAW(HWND hDlg, int nIDDlgItem, LPCVOID lpszPath)
LPNMRUNFILEDLGW LPNMRUNFILEDLG
Definition: undocshell.h:158
BOOL WINAPI PathIsDirectoryAW(LPCVOID lpszPath)
HMENU WINAPI FileMenu_Create(COLORREF crBorderColor, int nBorderWidth, HBITMAP hBorderBmp, int nSelHeight, UINT uFlags)
Definition: shlmenu.c:250
PNMRUNFILEDLGW PNMRUNFILEDLG
Definition: undocshell.h:157
IStream *WINAPI SHGetViewStream(LPCITEMIDLIST, DWORD, LPCTSTR, LPCTSTR, LPCTSTR)
BOOL WINAPI FileMenu_AppendItem(HMENU hMenu, LPCSTR lpszText, UINT uID, int iIcon, HMENU hMenuPopup, int nItemHeight)
BOOL WINAPI PathIsRootAW(LPCVOID x)
Definition: shellpath.c:511
LPVOID WINAPI PathGetArgsAW(LPVOID lpszPath)
struct tagSHELL_LINK_INFO_CNR_LINKA SHELL_LINK_INFO_CNR_LINKA
BOOL WINAPI SHIsTempDisplayMode(VOID)
struct tagSHELL_LINK_INFO_CNR_LINKW * LPSHELL_LINK_INFO_CNR_LINKW
BOOL WINAPI PathAppendAW(LPVOID lpszPath1, LPCVOID lpszPath2)
Definition: shellpath.c:407
HMENU WINAPI FileMenu_FindSubMenuByPidl(HMENU hMenu, LPCITEMIDLIST pidl)
Definition: shlmenu.c:467
void WINAPI ExitWindowsDialog(HWND hWndOwner)
Definition: dialogs.cpp:1608
struct tagEXP_TRACKER EXP_TRACKER
void WINAPI PathRemoveArgsAW(LPVOID lpszPath)
BOOL WINAPI PathStripToRootAW(LPVOID lpszPath)
WORD WINAPI ExtractIconResInfoW(_In_ HANDLE hHandle, _In_ LPCWSTR lpFileName, _In_ WORD wIndex, _Out_ LPWORD lpSize, _Out_ LPHANDLE lpIcon)
Definition: stubs.cpp:789
BOOL WINAPI FileMenu_DeleteMenuItemByFirstID(HMENU hMenu, UINT uID)
INT WINAPI LargeIntegerToString(_In_ const LARGE_INTEGER *pLargeInt, _Out_writes_z_(cchOut) LPWSTR pszOut, _In_ UINT cchOut, _In_ BOOL bUseFormat, _In_opt_ const NUMBERFMTW *pNumberFormat, _In_ DWORD dwNumberFlags)
const SFVCOPYHOOKINFO * LPCSFVCOPYHOOKINFO
Definition: undocshell.h:572
BOOL WINAPI PathIsEqualOrSubFolder(_In_ LPCWSTR pszFile1OrCSIDL, _In_ LPCWSTR pszFile2)
Definition: utils.cpp:1219
struct tagSHELL_LINK_INFO_VOLUME_IDA SHELL_LINK_INFO_VOLUME_IDA
HRESULT WINAPI SHGetImageList(int iImageList, REFIID riid, void **ppv)
Definition: shellord.c:2452
BOOL WINAPI FileMenu_GetLastSelectedItemPidls(UINT uReserved, LPCITEMIDLIST *ppidlFolder, LPCITEMIDLIST *ppidlItem)
Definition: shlmenu.c:540
struct tagSHELL_LINK_INFOA SHELL_LINK_INFOA
BOOL WINAPI PathFileExistsAW(LPCVOID lpszPath)
Definition: shellpath.c:567
LRESULT WINAPI FileMenu_DrawItem(HWND hWnd, LPDRAWITEMSTRUCT lpdis)
Definition: shlmenu.c:586
BOOL WINAPI ILGetDisplayName(LPCITEMIDLIST pidl, LPVOID path)
Definition: pidl.c:183
INT WINAPI Int64ToString(_In_ LONGLONG llValue, _Out_writes_z_(cchOut) LPWSTR pszOut, _In_ UINT cchOut, _In_ BOOL bUseFormat, _In_opt_ const NUMBERFMTW *pNumberFormat, _In_ DWORD dwNumberFlags)
void WINAPI ShellDDEInit(BOOL bInit)
Definition: shdocvw_main.c:262
void WINAPI SHHandleDiskFull(HWND hwndOwner, UINT uDrive)
Definition: stubs.cpp:733
struct tagSHELL_LINK_HEADER * LPSHELL_LINK_HEADER
struct tagEXP_KNOWN_FOLDER * LPEXP_KNOWN_FOLDER
VOID WINAPI PathQuoteSpacesAW(LPVOID path)
int WINAPI FileMenu_InsertUsingPidl(HMENU hMenu, UINT uID, LPCITEMIDLIST pidl, UINT uFlags, UINT uEnumFlags, LPFNFMCALLBACK lpfnCallback)
Definition: shlmenu.c:414
BOOL WINAPI PathResolveW(LPWSTR path, LPCWSTR *dirs, DWORD flags)
struct tagEXP_TRACKER * LPEXP_TRACKER
BOOL WINAPI PathIsSameRootAW(LPCVOID lpszPath1, LPCVOID lpszPath2)
HRESULT WINAPI CopyStreamUI(_In_ IStream *pSrc, _Out_ IStream *pDst, _Inout_opt_ IProgressDialog *pProgress, _In_opt_ DWORDLONG dwlSize)
Definition: utils.cpp:928
struct _NMRUNFILEDLGW NMRUNFILEDLGW
struct tagSHELL_LINK_INFO_VOLUME_IDW SHELL_LINK_INFO_VOLUME_IDW
BOOL WINAPI RegenerateUserEnvironment(LPVOID *lpEnvironment, BOOL bUpdateSelf)
Definition: shell32.cpp:71
void WINAPI FileMenu_Invalidate(HMENU hMenu)
Definition: shlmenu.c:459
BOOL WINAPI FileMenu_DeleteAllItems(HMENU hMenu)
Definition: shlmenu.c:669
HRESULT WINAPI SHCreateLinks(HWND hWnd, LPCSTR lpszDir, LPDATAOBJECT lpDataObject, UINT uFlags, LPITEMIDLIST *lppidlLinks)
BOOL WINAPI PathIsUNCAW(LPCVOID lpszPath)
LPSTR WINAPI SheRemoveQuotesA(LPSTR psz)
Definition: utils.cpp:689
HINSTANCE WINAPI RealShellExecuteA(_In_opt_ HWND hwnd, _In_opt_ LPCSTR lpOperation, _In_opt_ LPCSTR lpFile, _In_opt_ LPCSTR lpParameters, _In_opt_ LPCSTR lpDirectory, _In_opt_ LPSTR lpReturn, _In_opt_ LPCSTR lpTitle, _In_opt_ LPVOID lpReserved, _In_ INT nCmdShow, _Out_opt_ PHANDLE lphProcess)
Definition: shlexec.cpp:2816
HRESULT WINAPI PathProcessCommandAW(LPCVOID lpszPath, LPVOID lpszBuff, DWORD dwBuffSize, DWORD dwFlags)
Definition: shellpath.c:1003
BOOL WINAPI SHTestTokenPrivilegeW(_In_opt_ HANDLE hToken, _In_z_ LPCWSTR lpName)
const SFVSELECTSTATE * LPCSFVSELECTSTATE
Definition: undocshell.h:559
void WINAPI ILGlobalFree(LPITEMIDLIST pidl)
Definition: pidl.c:958
int WINAPI PathParseIconLocationAW(LPVOID lpszPath)
BOOL WINAPI ILGetDisplayNameEx(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPVOID path, DWORD type)
Definition: pidl.c:171
void WINAPI PathRemoveBlanksAW(LPVOID lpszPath)
BOOL WINAPI GUIDFromStringW(_In_ PCWSTR psz, _Out_ LPGUID pguid)
WORD WINAPI ArrangeWindows(HWND hwndParent, DWORD dwReserved, LPCRECT lpRect, WORD cKids, CONST HWND *lpKids)
BOOL WINAPI PathResolveAW(LPVOID lpszPath, LPCVOID *alpszPaths, DWORD dwFlags)
Definition: shellpath.c:960
VOID WINAPI CheckEscapesW(LPWSTR string, DWORD len)
Definition: shellstring.c:252
BOOL WINAPI FileIconInit(BOOL bFullInit)
Definition: shellord.c:1683
LPITEMIDLIST WINAPI SHSimpleIDListFromPathW(LPCWSTR lpszPath)
Definition: pidl.c:1133
BOOL WINAPI FileMenu_EnableItemByCmd(HMENU hMenu, UINT uID, BOOL bEnable)
Definition: shlmenu.c:770
VOID WINAPI CheckEscapesA(LPSTR string, DWORD len)
Definition: shellstring.c:227
void WINAPI FileMenu_Destroy(HMENU hMenu)
Definition: shlmenu.c:284
BOOL WINAPI DAD_ShowDragImage(BOOL bShow)
Definition: shellord.c:1599
BOOL WINAPI DAD_SetDragImageFromListView(HWND hWnd, POINT pt)
Definition: stubs.cpp:722
LPWSTR WINAPI SheRemoveQuotesW(LPWSTR psz)
Definition: utils.cpp:714
struct tagSHELL_LINK_INFOW * LPSHELL_LINK_INFOW
struct tagSHELL_LINK_HEADER SHELL_LINK_HEADER
struct _SHCNF_PRINTJOB_INFO SHCNF_PRINTJOB_INFO
void WINAPI FileMenu_AbortInitMenu(void)
Definition: shlmenu.c:802
BOOL WINAPI Activate_RunDLL(_In_ HWND hwnd, _In_ HINSTANCE hinst, _In_ LPCWSTR cmdline, _In_ INT cmdshow)
Definition: utils.cpp:1084
DWORD WINAPI SHGetUserSessionId(_In_opt_ HANDLE hToken)
Definition: utils.cpp:492
LRESULT WINAPI FileMenu_MeasureItem(HWND hWnd, LPMEASUREITEMSTRUCT lpmis)
Definition: shlmenu.c:558
HRESULT(CALLBACK * LPFNCDCOCALLBACK)(LPUNKNOWN pUnkOuter, REFIID riidObject, LPVOID *ppvObject)
Definition: undocshell.h:687
HRESULT WINAPI SHRevokeDragDrop(HWND hWnd)
Definition: shellord.c:576
VOID WINAPI PathQualifyW(LPWSTR pszPath)
Definition: shellpath.c:820
BOOL WINAPI PathMakeUniqueNameAW(LPVOID lpszBuffer, DWORD dwBuffSize, LPCVOID lpszShortName, LPCVOID lpszLongName, LPCVOID lpszPathName)
Definition: shellpath.c:684
LPVOID WINAPI PathAddBackslashAW(LPVOID path)
LRESULT WINAPI FileMenu_HandleMenuChar(HMENU hMenu, WPARAM wParam)
Definition: shlmenu.c:655
BOOL WINAPI PathResolveA(LPSTR path, LPCSTR *dirs, DWORD flags)
Definition: shellpath.c:837
HICON WINAPI SHGetFileIcon(DWORD dwReserved, LPCSTR lpszPath, DWORD dwFileAttributes, UINT uFlags)
INT WINAPI Shell_GetCachedImageIndex(LPCWSTR szPath, INT nIndex, UINT bSimulateDoc)
Definition: iconcache.cpp:838
HRESULT(CALLBACK * PRIVILEGED_FUNCTION)(LPARAM lParam)
Definition: undocshell.h:774
BOOL WINAPI SHWaitForFileToOpen(LPCITEMIDLIST pidl, DWORD dwFlags, DWORD dwTimeout)
Definition: shellord.c:1771
BOOL WINAPI FileMenu_DeleteItemByCmd(HMENU hMenu, UINT uID)
Definition: shlmenu.c:704
BOOL WINAPI SHInitRestricted(LPCVOID unused, LPCVOID inpRegKey)
DWORD WINAPI WinList_Init(void)
Definition: misc.cpp:68
HINSTANCE WINAPI RealShellExecuteExA(_In_opt_ HWND hwnd, _In_opt_ LPCSTR lpOperation, _In_opt_ LPCSTR lpFile, _In_opt_ LPCSTR lpParameters, _In_opt_ LPCSTR lpDirectory, _In_opt_ LPSTR lpReturn, _In_opt_ LPCSTR lpTitle, _In_opt_ LPVOID lpReserved, _In_ INT nCmdShow, _Out_opt_ PHANDLE lphProcess, _In_ DWORD dwFlags)
Definition: shlexec.cpp:2682
void WINAPI PathRemoveExtensionAW(LPVOID lpszPath)
HINSTANCE WINAPI RealShellExecuteExW(_In_opt_ HWND hwnd, _In_opt_ LPCWSTR lpOperation, _In_opt_ LPCWSTR lpFile, _In_opt_ LPCWSTR lpParameters, _In_opt_ LPCWSTR lpDirectory, _In_opt_ LPWSTR lpReturn, _In_opt_ LPCWSTR lpTitle, _In_opt_ LPVOID lpReserved, _In_ INT nCmdShow, _Out_opt_ PHANDLE lphProcess, _In_ DWORD dwFlags)
Definition: shlexec.cpp:2749
BOOL WINAPI Shell_GetImageLists(HIMAGELIST *lphimlLarge, HIMAGELIST *lphimlSmall)
Definition: iconcache.cpp:683
HRESULT WINAPI SHILCreateFromPathA(LPCSTR path, LPITEMIDLIST *ppidl, DWORD *attributes)
Definition: pidl.c:389
struct SFVCOLUMNINFO * LPSFVCOLUMNINFO
NMRUNFILEDLGW NMRUNFILEDLG
Definition: undocshell.h:156
BOOL WINAPI PathRemoveFileSpecAW(LPVOID lpszPath)
Definition: shellpath.c:453
struct tagEXP_SHIM EXP_SHIM
struct _NMRUNFILEDLGW * LPNMRUNFILEDLGW
int WINAPI Shell_GetCachedImageIndexA(LPCSTR lpszFileName, int nIconIndex, UINT bSimulateDoc)
struct tagEXP_VISTA_ID_LIST * LPEXP_VISTA_ID_LIST
LONG WINAPI SHRegQueryValueExA(HKEY hkey, LPCSTR lpValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData)
Definition: shellreg.c:78
struct tagSHELL_LINK_INFO_VOLUME_IDA * LPSHELL_LINK_INFO_VOLUME_IDA
LPVOID WINAPI PathFindFileNameAW(LPCVOID path)
BOOL WINAPI StrRetToStrNA(LPSTR, DWORD, LPSTRRET, const ITEMIDLIST *)
Definition: shellstring.c:54
WORD WINAPI ExtractIconResInfoA(_In_ HANDLE hHandle, _In_ LPCSTR lpFileName, _In_ WORD wIndex, _Out_ LPWORD lpSize, _Out_ LPHANDLE lpIcon)
Definition: utils.cpp:451
struct tagEXP_VISTA_ID_LIST EXP_VISTA_ID_LIST
DWORD WINAPI SHNetConnectionDialog(HWND hwndOwner, LPCWSTR lpstrRemoteName, DWORD dwType)
Definition: stubs.cpp:709
struct tagEXP_SHIM * LPEXP_SHIM
BOOL WINAPI PathIsTemporaryW(_In_ LPCWSTR Str)
HRESULT WINAPI SHCreateSessionKey(REGSAM samDesired, PHKEY phKey)
Definition: shellreg.c:147
struct tagSHELL_LINK_INFO_CNR_LINKA * LPSHELL_LINK_INFO_CNR_LINKA
BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID *sOtherDirs)
BOOL WINAPI SHOpenEffectiveToken(_Out_ LPHANDLE phToken)
Definition: utils.cpp:483
int WINAPI SHOutOfMemoryMessageBox(HWND hwndOwner, LPCSTR lpCaption, UINT uType)
Definition: shellord.c:1750
void(CALLBACK * LPFNFMCALLBACK)(LPCITEMIDLIST pidlFolder, LPCITEMIDLIST pidlFile)
Definition: undocshell.h:299
BOOL WINAPI PathIsRelativeAW(LPCVOID lpszPath)
LPVOID WINAPI PathCombineAW(LPVOID szDest, LPCVOID lpszDir, LPCVOID lpszFile)
struct tagEXP_KNOWN_FOLDER EXP_KNOWN_FOLDER
VOID WINAPI PathQualifyAW(LPVOID path)
Definition: shellpath.c:829
BOOL WINAPI PathYetAnotherMakeUniqueName(LPWSTR lpszBuffer, LPCWSTR lpszPathName, LPCWSTR lpszShortName, LPCWSTR lpszLongName)
Definition: shellpath.c:699
void WINAPI RunFileDlg(HWND hWndOwner, HICON hIcon, LPCWSTR lpstrDirectory, LPCWSTR lpstrTitle, LPCWSTR lpstrDescription, UINT uFlags)
Definition: dialogs.cpp:409
struct SFVM_CUSTOMVIEWINFO_DATA * LPSFVM_CUSTOMVIEWINFO_DATA
static GLenum _GLUfuncptr fn
Definition: wgl_font.c:159
_In_opt_ LPSTR _In_opt_ LPSTR _In_ DWORD _In_ DWORD _Out_opt_ PHANDLE phToken
Definition: winbase.h:2715
_In_ LPCSTR lpFileName
Definition: winbase.h:3071
_In_ LPCSTR lpName
Definition: winbase.h:2789
_Reserved_ DWORD * pdwReserved
Definition: wincrypt.h:4254
_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_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD dwTimeout
Definition: wincrypt.h:6081
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
_In_ BOOL bEnable
Definition: winddi.h:3426
_In_ ULONG _In_opt_ PVOID pvData
Definition: winddi.h:3749
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
UINT_PTR WPARAM
Definition: windef.h:207
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
_In_ int nIDDlgItem
Definition: winuser.h:4619
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const CHAR * LPCTSTR
Definition: xmlstorage.h:193
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
char CHAR
Definition: xmlstorage.h:175