ReactOS 0.4.15-dev-6657-ged9973f
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
27#if (NTDDI_VERSION < NTDDI_LONGHORN)
28#define DBIMF_NOGRIPPER 0x0800
29#define DBIMF_ALWAYSGRIPPER 0x1000
30#define DBIMF_NOMARGINS 0x2000
31#endif // NTDDI_LONGHORN
32
33#if defined (_SHELLAPI_H) || defined (_INC_SHELLAPI)
34
35/****************************************************************************
36 * Taskbar interface WM_COPYDATA structures
37 * See http://www.geoffchappell.com/studies/windows/shell/shell32/api/shlnot/copydata.htm
38 */
39/* Data structure for Shell_NotifyIcon messages */
40typedef struct _TRAYNOTIFYDATAW
41{
42 DWORD dwSignature;
43 DWORD dwMessage;
44 NOTIFYICONDATAW nid; // Always use the latest NOTIFYICONDATAW structure version.
45} TRAYNOTIFYDATAW, *PTRAYNOTIFYDATAW;
46// Note: One could also introduce TRAYNOTIFYDATAA
47
48#define NI_NOTIFY_SIG 0x34753423 /* TRAYNOTIFYDATA */
49
50#endif /* defined (_SHELLAPI_H) || defined (_INC_SHELLAPI) */
51
52
53/****************************************************************************
54 * Taskbar WM_COMMAND identifiers
55 */
56#define TWM_DOEXITWINDOWS (WM_USER + 342)
57#define TWM_CYCLEFOCUS (WM_USER + 348)
58
59
60/****************************************************************************
61 * IDList Functions
62 */
64 LPCITEMIDLIST pidl,
65 LPVOID path);
66
67/* type parameter for ILGetDisplayNameEx() */
68#define ILGDN_FORPARSING 0
69#define ILGDN_NORMAL 1
70#define ILGDN_INFOLDER 2
71
73 LPSHELLFOLDER psf,
74 LPCITEMIDLIST pidl,
76 DWORD type);
77
82
85 LPITEMIDLIST * ppidl,
86 DWORD *attributes);
87
90 LPITEMIDLIST * ppidl,
91 DWORD *attributes);
92
93/*
94 string functions
95*/
98
99
100/****************************************************************************
101 * SHChangeNotifyRegister API
102 */
103#define SHCNRF_InterruptLevel 0x0001
104#define SHCNRF_ShellLevel 0x0002
105#define SHCNRF_RecursiveInterrupt 0x1000 /* Must be combined with SHCNRF_InterruptLevel */
106#define SHCNRF_NewDelivery 0x8000 /* Messages use shared memory */
107
108/****************************************************************************
109 * SHChangeNotify
110 */
111
113{
115 // More info,,,
117
118//
119// Add missing types for print job notifications.
120//
121#define SHCNF_PRINTJOBA 0x0004
122#define SHCNF_PRINTJOBW 0x0007
123
124
125/****************************************************************************
126 * Shell Common Dialogs
127 */
128
129/* RunFileDlg flags */
130#define RFF_NOBROWSE 0x01 /* Removes the browse button */
131#define RFF_NODEFAULT 0x02 /* No default item selected */
132#define RFF_CALCDIRECTORY 0x04 /* Calculates the working directory from the file name */
133#define RFF_NOLABEL 0x08 /* Removes the edit box label */
134#define RFF_NOSEPARATEMEM 0x20 /* Removes the Separate Memory Space check box (Windows NT only) */
135
136/* RunFileFlg notification value and structure */
137#define RFN_VALIDATE (-510)
138#if 0 // Deprecated ANSI structure
139typedef struct _NMRUNFILEDLGA
140{
141 NMHDR hdr;
142 LPCSTR lpFile;
144 UINT nShow;
145} NMRUNFILEDLGA, *PNMRUNFILEDLGA, *LPNMRUNFILEDLGA;
146#endif
147typedef struct _NMRUNFILEDLGW
148{
154
158
159/* RunFileDlg notification return values */
160#define RF_OK 0x00
161#define RF_CANCEL 0x01
162#define RF_RETRY 0x02
163
164void WINAPI RunFileDlg(
165 HWND hWndOwner,
166 HICON hIcon,
167 LPCWSTR lpstrDirectory,
168 LPCWSTR lpstrTitle,
169 LPCWSTR lpstrDescription,
170 UINT uFlags);
171
172int WINAPI LogoffWindowsDialog(HWND hWndOwner);
173void WINAPI ExitWindowsDialog(HWND hWndOwner);
174
176 LPCITEMIDLIST pidlRoot,
177 LPCITEMIDLIST pidlSavedSearch);
178
179void WINAPI SHHandleDiskFull(HWND hwndOwner,
180 UINT uDrive);
181
183 HWND hwndOwner,
184 LPCSTR lpCaption,
185 UINT uType);
186
188 HWND hwndOwner,
189 LPCWSTR lpstrRemoteName,
190 DWORD dwType);
191
193
194/****************************************************************************
195 * Cabinet Window Messages
196 */
197
198#define CWM_SETPATH (WM_USER + 2)
199#define CWM_WANTIDLE (WM_USER + 3)
200#define CWM_GETSETCURRENTINFO (WM_USER + 4)
201#define CWM_SELECTITEM (WM_USER + 5)
202#define CWM_SELECTITEMSTR (WM_USER + 6)
203#define CWM_GETISHELLBROWSER (WM_USER + 7)
204#define CWM_TESTPATH (WM_USER + 9)
205#define CWM_STATECHANGE (WM_USER + 10)
206#define CWM_GETPATH (WM_USER + 12)
207
208#define WM_GETISHELLBROWSER CWM_GETISHELLBROWSER
209
210/* CWM_TESTPATH types */
211#define CWTP_ISEQUAL 0
212#define CWTP_ISCHILD 1
213
214/* CWM_TESTPATH structure */
215typedef struct
216{
220
221/****************************************************************************
222 * System Imagelist Routines
223 */
224
226 LPCSTR lpszFileName,
227 int nIconIndex,
228 UINT bSimulateDoc);
229
231 HIMAGELIST *lphimlLarge,
232 HIMAGELIST *lphimlSmall);
233
236 LPCSTR lpszPath,
238 UINT uFlags);
239
240BOOL WINAPI FileIconInit(BOOL bFullInit);
241
242/****************************************************************************
243 * File Menu Routines
244 */
245/* FileMenu_Create nSelHeight constants */
246#define FM_DEFAULT_SELHEIGHT -1
247#define FM_FULL_SELHEIGHT 0
248
249/* FileMenu_Create flags */
250#define FMF_SMALL_ICONS 0x00
251#define FMF_LARGE_ICONS 0x08
252#define FMF_NO_COLUMN_BREAK 0x10
253
255 COLORREF crBorderColor,
256 int nBorderWidth,
257 HBITMAP hBorderBmp,
258 int nSelHeight,
259 UINT uFlags);
260
261void WINAPI FileMenu_Destroy(HMENU hMenu);
262
263/* FileMenu_AppendItem constants */
264#define FM_SEPARATOR (LPCSTR)1
265#define FM_BLANK_ICON -1
266#define FM_DEFAULT_HEIGHT 0
267
269 HMENU hMenu,
270 LPCSTR lpszText,
271 UINT uID,
272 int iIcon,
273 HMENU hMenuPopup,
274 int nItemHeight);
275
276/* FileMenu_InsertUsingPidl flags */
277#define FMF_NO_EMPTY_ITEM 0x01
278#define FMF_NO_PROGRAM_GROUPS 0x04
279
280/* FileMenu_InsertUsingPidl callback function */
281typedef void (CALLBACK *LPFNFMCALLBACK)(LPCITEMIDLIST pidlFolder, LPCITEMIDLIST pidlFile);
282
284 HMENU hMenu,
285 UINT uID,
286 LPCITEMIDLIST pidl,
287 UINT uFlags,
288 UINT uEnumFlags,
289 LPFNFMCALLBACK lpfnCallback);
290
292 HMENU hMenu,
293 UINT uID,
294 LPCITEMIDLIST pidl,
295 UINT uEnumFlags,
296 LPFNFMCALLBACK lpfnCallback);
297
299
301 HMENU hMenu,
302 LPCITEMIDLIST pidl);
303
305 HMENU hMenu,
306 UINT uFlags,
307 int x,
308 int y,
309 HWND hWnd,
310 LPTPMPARAMS lptpm);
311
313 UINT uReserved,
314 LPCITEMIDLIST *ppidlFolder,
315 LPCITEMIDLIST *ppidlItem);
316
318 HWND hWnd,
319 LPMEASUREITEMSTRUCT lpmis);
320
322 HWND hWnd,
323 LPDRAWITEMSTRUCT lpdis);
324
326
328
330 HMENU hMenu,
331 WPARAM wParam);
332
334
336 HMENU hMenu,
337 UINT uID);
338
340 HMENU hMenu,
341 UINT uPos);
342
344 HMENU hMenu,
345 UINT uID);
346
348
350 HMENU hMenu,
351 UINT uID,
352 BOOL bEnable);
353
355 HMENU hMenu,
356 UINT uPos);
357
359 HMENU hMenu,
360 LPCITEMIDLIST pidl,
361 BOOL bAddSeparator);
362
364 HMENU hMenu,
365 UINT uReserved,
366 UINT uID,
367 LPCITEMIDLIST pidl,
368 UINT uFlags,
369 UINT uEnumFlags,
370 LPFNFMCALLBACK lpfnCallback);
371
372/****************************************************************************
373 * Drag And Drop Routines
374 */
375
377 HWND hWnd,
378 LPDROPTARGET lpDropTarget);
379
381
383
385 HWND hWnd,
386 POINT pt);
387
389
390/****************************************************************************
391 * Path Manipulation Routines
392 */
393
394BOOL WINAPI PathAppendAW(LPVOID lpszPath1, LPCVOID lpszPath2);
395
396LPVOID WINAPI PathCombineAW(LPVOID szDest, LPCVOID lpszDir, LPCVOID lpszFile);
397
399
401
403
405
407
409
411
413
415
417
419
421
423
425
427
429
431
433 LPVOID lpszBuffer,
434 DWORD dwBuffSize,
435 LPCVOID lpszShortName,
436 LPCVOID lpszLongName,
437 LPCVOID lpszPathName);
438
440 LPWSTR lpszBuffer,
441 LPCWSTR lpszPathName,
442 LPCWSTR lpszShortName,
443 LPCWSTR lpszLongName);
444
448
449/* PathResolve flags */
450#define PRF_CHECKEXISTANCE 0x01
451#define PRF_EXECUTABLE 0x02
452#define PRF_QUALIFYONPATH 0x04
453#define PRF_WINDOWS31 0x08
454
457BOOL WINAPI PathResolveAW(LPVOID lpszPath, LPCVOID *alpszPaths, DWORD dwFlags);
458
460
461/* PathProcessCommand flags */
462#define PPCF_QUOTEPATH 0x01 /* implies PPCF_INCLUDEARGS */
463#define PPCF_INCLUDEARGS 0x02
464//#define PPCF_NODIRECTORIES 0x10 move to shlobj
465#define PPCF_DONTRESOLVE 0x20
466#define PPCF_PATHISRELATIVE 0x40
467
469 DWORD dwBuffSize, DWORD dwFlags);
470
472
474
476
478
480
482
484
485/****************************************************************************
486 * Shell File Operations error codes - SHFileOperationA/W
487 */
488
489/* Error codes could be pre-Win32 */
490#define DE_SAMEFILE 0x71
491#define DE_MANYSRC1DEST 0x72
492#define DE_DIFFDIR 0x73
493#define DE_ROOTDIR 0x74
494#define DE_OPCANCELLED 0x75
495#define DE_DESTSUBTREE 0x76
496#define DE_ACCESSDENIEDSRC 0x78
497#define DE_PATHTOODEEP 0x79
498#define DE_MANYDEST 0x7A
499#define DE_INVALIDFILES 0x7C
500#define DE_DESTSAMETREE 0x7D
501#define DE_FLDDESTISFILE 0x7E
502#define DE_FILEDESTISFLD 0x80
503#define DE_FILENAMETOOLONG 0x81
504#define DE_DEST_IS_CDROM 0x82
505#define DE_DEST_IS_DVD 0x83
506#define DE_DEST_IS_CDRECORD 0x84
507#define DE_FILE_TOO_LARGE 0x85
508#define DE_SRC_IS_CDROM 0x86
509#define DE_SRC_IS_DVD 0x87
510#define DE_SRC_IS_CDRECORD 0x88
511// #define DE_ERROR_MAX
512#define ERRORONDEST 0x10000
513
514/****************************************************************************
515 * Shell Namespace Routines
516 */
517
518/* Generic structure used by several messages */
519typedef struct
520{
526typedef const SFVCBINFO * LPCSFVCBINFO;
527
528/* SFVCB_SELECTIONCHANGED structure */
529typedef struct
530{
537
538/* SFVCB_COPYHOOKCALLBACK structure */
539typedef struct
540{
550
551/* SFVCB_GETDETAILSOF structure */
552typedef struct
553{
555 int fmt;
556 int cx;
559
560/****************************************************************************
561 * Misc Stuff
562 */
563
565RegenerateUserEnvironment(LPVOID *lpEnvironment, BOOL bUpdateSelf);
566
567/* SHWaitForFileToOpen flags */
568#define SHWFF_ADD 0x01
569#define SHWFF_REMOVE 0x02
570#define SHWFF_WAIT 0x04
571
573 LPCITEMIDLIST pidl,
576
580 LPCRECT lpRect,
581 WORD cKids,
582 CONST HWND * lpKids);
583
584/* Flags for ShellExecCmdLine */
585#define SECL_NO_UI 0x2
586#define SECL_LOG_USAGE 0x8
587#define SECL_USE_IDLIST 0x10
588#define SECL_ALLOW_NONEXE 0x20
589#define SECL_RUNAS 0x40
590
592 HWND hwnd,
593 LPCWSTR pwszCommand,
594 LPCWSTR pwszStartDir,
595 int nShow,
596 LPVOID pUnused,
597 DWORD dwSeclFlags);
598
599/* RegisterShellHook types */
600#define RSH_DEREGISTER 0
601#define RSH_REGISTER 1
602#define RSH_REGISTER_PROGMAN 2
603#define RSH_REGISTER_TASKMAN 3
604
606 HWND hWnd,
607 DWORD dwType);
608
609/* SHCreateDefClassObject callback function */
611 LPUNKNOWN pUnkOuter,
612 REFIID riidObject,
614
616 REFIID riidFactory,
617 LPVOID *ppvFactory,
618 LPFNCDCOCALLBACK lpfnCallback,
619 LPDWORD lpdwUsage,
620 REFIID riidObject);
621
623
624/* SHCreateLinks flags */
625#define SHCLF_PREFIXNAME 0x01
626#define SHCLF_CREATEONDESKTOP 0x02
627
629 HWND hWnd,
630 LPCSTR lpszDir,
631 LPDATAOBJECT lpDataObject,
632 UINT uFlags,
633 LPITEMIDLIST *lppidlLinks);
634
637
638/* policy functions */
640
641#define CSIDL_FOLDER_MASK 0x00ff
642
643/* Utility functions */
644#include <stdio.h>
645
646#define SMC_EXEC 4
648
651HRESULT WINAPI SHGetImageList(int iImageList, REFIID riid, void **ppv);
652
654 _In_ PCWSTR psz,
655 _Out_ LPGUID pguid
656 );
657
660
661/* Flags for Int64ToString and LargeIntegerToString */
662#define FMT_USE_NUMDIGITS 0x01
663#define FMT_USE_LEADZERO 0x02
664#define FMT_USE_GROUPING 0x04
665#define FMT_USE_DECIMAL 0x08
666#define FMT_USE_THOUSAND 0x10
667#define FMT_USE_NEGNUMBER 0x20
668
671 _In_ LONGLONG llValue,
672 _Out_writes_z_(cchOut) LPWSTR pszOut,
673 _In_ UINT cchOut,
674 _In_ BOOL bUseFormat,
675 _In_opt_ const NUMBERFMTW *pNumberFormat,
676 _In_ DWORD dwNumberFlags);
677
680 _In_ const LARGE_INTEGER *pLargeInt,
681 _Out_writes_z_(cchOut) LPWSTR pszOut,
682 _In_ UINT cchOut,
683 _In_ BOOL bUseFormat,
684 _In_opt_ const NUMBERFMTW *pNumberFormat,
685 _In_ DWORD dwNumberFlags);
686
689
690/*****************************************************************************
691 * Shell32 resources
692 */
693// these resources are in shell32.dll
694#define IDB_GOBUTTON_NORMAL 0x0e6
695#define IDB_GOBUTTON_HOT 0x0e7
696
697// band ids in internet toolbar
698#define ITBBID_MENUBAND 1
699#define ITBBID_BRANDBAND 5
700#define ITBBID_TOOLSBAND 2
701#define ITBBID_ADDRESSBAND 4
702
703// commands in the CGID_PrivCITCommands command group handled by the internet toolbar
704// there seems to be some support for hiding the menubar and an auto hide feature that are
705// unavailable in the UI
706#define ITID_TEXTLABELS 3
707#define ITID_TOOLBARBANDSHOWN 4
708#define ITID_ADDRESSBANDSHOWN 5
709#define ITID_LINKSBANDSHOWN 6
710#define ITID_MENUBANDSHOWN 12
711#define ITID_AUTOHIDEENABLED 13
712#define ITID_CUSTOMIZEENABLED 20
713#define ITID_TOOLBARLOCKED 27
714
715// commands in the CGID_BrandCmdGroup command group handled by the brand band
716#define BBID_STARTANIMATION 1
717#define BBID_STOPANIMATION 2
718
719// undocumented flags for IShellMenu::SetShellFolder
720#define SMSET_UNKNOWN08 0x08
721#define SMSET_UNKNOWN10 0x10
722
723// explorer tray commands
724#define TRAYCMD_STARTMENU 305
725#define TRAYCMD_RUN_DIALOG 401
726#define TRAYCMD_LOGOFF_DIALOG 402
727#define TRAYCMD_CASCADE 403
728#define TRAYCMD_TILE_H 404
729#define TRAYCMD_TILE_V 405
730#define TRAYCMD_TOGGLE_DESKTOP 407
731#define TRAYCMD_DATE_AND_TIME 408
732#define TRAYCMD_TASKBAR_PROPERTIES 413
733#define TRAYCMD_MINIMIZE_ALL 415
734#define TRAYCMD_RESTORE_ALL 416
735#define TRAYCMD_SHOW_DESKTOP 419
736#define TRAYCMD_SHOW_TASK_MGR 420
737#define TRAYCMD_CUSTOMIZE_TASKBAR 421
738#define TRAYCMD_LOCK_TASKBAR 424
739#define TRAYCMD_HELP_AND_SUPPORT 503
740#define TRAYCMD_CONTROL_PANEL 505
741#define TRAYCMD_SHUTDOWN_DIALOG 506
742#define TRAYCMD_PRINTERS_AND_FAXES 510
743#define TRAYCMD_LOCK_DESKTOP 517
744#define TRAYCMD_SWITCH_USER_DIALOG 5000
745#define TRAYCMD_SEARCH_FILES 41093
746#define TRAYCMD_SEARCH_COMPUTERS 41094
747
748// Explorer Tray Application Bar Data Message Commands
749#define TABDMC_APPBAR 0
750#define TABDMC_NOTIFY 1
751#define TABDMC_LOADINPROC 2
752
753void WINAPI ShellDDEInit(BOOL bInit);
755
757
759
761 HKEY hkey,
762 LPCSTR lpValueName,
763 LPDWORD lpReserved,
764 LPDWORD lpType,
765 LPBYTE lpData,
766 LPDWORD lpcbData);
768 HKEY hkey,
769 LPCWSTR pszValue,
771 LPDWORD pdwType,
774#ifdef UNICODE
775 #define SHRegQueryValueEx SHRegQueryValueExW
776#else
777 #define SHRegQueryValueEx SHRegQueryValueExA
778#endif
779
780/*****************************************************************************
781 * INVALID_FILETITLE_CHARACTERS
782 */
783
784#define INVALID_FILETITLE_CHARACTERSA "\\/:*?\"<>|"
785#define INVALID_FILETITLE_CHARACTERSW L"\\/:*?\"<>|"
786
787#ifdef UNICODE
788 #define INVALID_FILETITLE_CHARACTERS INVALID_FILETITLE_CHARACTERSW
789#else
790 #define INVALID_FILETITLE_CHARACTERS INVALID_FILETITLE_CHARACTERSA
791#endif
792
793/*****************************************************************************
794 * Shell Link
795 */
796#include <pshpack1.h>
797
799{
800 /* The size of this structure (always 0x0000004C) */
802 /* CLSID = class identifier (always 00021401-0000-0000-C000-000000000046) */
804 /* Flags (SHELL_LINK_DATA_FLAGS) */
806 /* Informations about the link target: */
811 DWORD nFileSizeLow; /* only the least significant 32 bits */
812 /* The index of an icon (signed?) */
814 /* The expected window state of an application launched by the link */
816 /* The keystrokes used to launch the application */
818 /* Reserved (must be zero) */
823
824/*****************************************************************************
825 * SHELL_LINK_INFOA/W
826 * If cbHeaderSize == 0x0000001C then use SHELL_LINK_INFOA
827 * If cbHeaderSize >= 0x00000024 then use SHELL_LINK_INFOW
828 */
830{
831 /* Size of the link info data */
833 /* Size of this structure (ANSI: = 0x0000001C) */
835 /* Specifies which fields are present/populated (SLI_*) */
837 /* Offset of the VolumeID field (SHELL_LINK_INFO_VOLUME_ID) */
839 /* Offset of the LocalBasePath field (ANSI, NULL-terminated string) */
841 /* Offset of the CommonNetworkRelativeLink field (SHELL_LINK_INFO_CNR_LINK) */
843 /* Offset of the CommonPathSuffix field (ANSI, NULL-terminated string) */
846
848{
849 /* Size of the link info data */
851 /* Size of this structure (Unicode: >= 0x00000024) */
853 /* Specifies which fields are present/populated (SLI_*) */
855 /* Offset of the VolumeID field (SHELL_LINK_INFO_VOLUME_ID) */
857 /* Offset of the LocalBasePath field (ANSI, NULL-terminated string) */
859 /* Offset of the CommonNetworkRelativeLink field (SHELL_LINK_INFO_CNR_LINK) */
861 /* Offset of the CommonPathSuffix field (ANSI, NULL-terminated string) */
863 /* Offset of the LocalBasePathUnicode field (Unicode, NULL-terminated string) */
865 /* Offset of the CommonPathSuffixUnicode field (Unicode, NULL-terminated string) */
868
869/* VolumeID, LocalBasePath, LocalBasePathUnicode(cbHeaderSize >= 0x24) are present */
870#define SLI_VALID_LOCAL 0x00000001
871/* CommonNetworkRelativeLink is present */
872#define SLI_VALID_NETWORK 0x00000002
873
874/*****************************************************************************
875 * SHELL_LINK_INFO_VOLUME_IDA/W
876 * If cbVolumeLabelOffset != 0x00000014 (should be 0x00000010) then use
877 * SHELL_LINK_INFO_VOLUME_IDA
878 * If cbVolumeLabelOffset == 0x00000014 then use SHELL_LINK_INFO_VOLUME_IDW
879 */
881{
882 /* Size of the VolumeID field (> 0x00000010) */
884 /* Drive type of the drive the link target is stored on (DRIVE_*) */
886 /* Serial number of the volume the link target is stored on */
888 /* Offset of the volume label (ANSI, NULL-terminated string).
889 Must be != 0x00000014 (see tagSHELL_LINK_INFO_VOLUME_IDW) */
892
894{
895 /* Size of the VolumeID field (> 0x00000010) */
897 /* Drive type of the drive the link target is stored on (DRIVE_*) */
899 /* Serial number of the volume the link target is stored on */
901 /* Offset of the volume label (ANSI, NULL-terminated string).
902 If the value of this field is 0x00000014, ignore it and use
903 cbVolumeLabelUnicodeOffset! */
905 /* Offset of the volume label (Unicode, NULL-terminated string).
906 If the value of the VolumeLabelOffset field is not 0x00000014,
907 this field must be ignored (==> it doesn't exists ==> ANSI). */
910
911/*****************************************************************************
912 * SHELL_LINK_INFO_CNR_LINKA/W (CNR = Common Network Relative)
913 * If cbNetNameOffset == 0x00000014 then use SHELL_LINK_INFO_CNR_LINKA
914 * If cbNetNameOffset > 0x00000014 then use SHELL_LINK_INFO_CNR_LINKW
915 */
917{
918 /* Size of the CommonNetworkRelativeLink field (>= 0x00000014) */
920 /* Specifies which fields are present/populated (SLI_CNR_*) */
922 /* Offset of the NetName field (ANSI, NULL–terminated string) */
924 /* Offset of the DeviceName field (ANSI, NULL–terminated string) */
926 /* Type of the network provider (WNNC_NET_* defined in winnetwk.h) */
929
931{
932 /* Size of the CommonNetworkRelativeLink field (>= 0x00000014) */
934 /* Specifies which fields are present/populated (SLI_CNR_*) */
936 /* Offset of the NetName field (ANSI, NULL–terminated string) */
938 /* Offset of the DeviceName field (ANSI, NULL–terminated string) */
940 /* Type of the network provider (WNNC_NET_* defined in winnetwk.h) */
942 /* Offset of the NetNameUnicode field (Unicode, NULL–terminated string) */
944 /* Offset of the DeviceNameUnicode field (Unicode, NULL–terminated string) */
947
948/* DeviceName is present */
949#define SLI_CNR_VALID_DEVICE 0x00000001
950/* NetworkProviderType is present */
951#define SLI_CNR_VALID_NET_TYPE 0x00000002
952
953/*****************************************************************************
954 * Shell Link Extra Data (IShellLinkDataList)
955 */
956typedef struct tagEXP_TRACKER
957{
958 /* .cbSize = 0x00000060, .dwSignature = 0xa0000003 */
960 /* Length >= 0x00000058 */
962 /* Must be 0x00000000 */
964 /* NetBIOS name (ANSI, unused bytes are set to zero) */
965 CHAR szMachineID[16]; /* "variable" >= 16 (?) */
966 /* Some GUIDs for the Link Tracking service (from the FS?) */
972
973typedef struct tagEXP_SHIM
974{
975 /* .cbSize >= 0x00000088, .dwSignature = 0xa0000008 */
977 /* Name of a shim layer to apply (Unicode, unused bytes are set to zero) */
978 WCHAR szwLayerName[64]; /* "variable" >= 64 */
980
982{
983 /* .cbSize = 0x0000001c, .dwSignature = 0xa000000b */
985 /* A GUID value that identifies a known folder */
987 /* Specifies the location of the ItemID of the first child
988 segment of the IDList specified by guidKnownFolder */
991
993{
994 /* .cbSize >= 0x0000000a, .dwSignature = 0xa000000c */
996 /* Specifies an alternate IDList that can be used instead
997 of the "normal" IDList (SLDF_HAS_ID_LIST) */
998 /* LPITEMIDLIST pIDList; (variable) */
1000
1001#define EXP_TRACKER_SIG 0xa0000003
1002#define EXP_SHIM_SIG 0xa0000008
1003#define EXP_KNOWN_FOLDER_SIG 0xa000000b
1004#define EXP_VISTA_ID_LIST_SIG 0xa000000c
1005
1006/* Not compatible yet */
1008{
1014
1015#include <poppack.h>
1016
1017#ifdef __cplusplus
1018} /* extern "C" */
1019#endif /* defined(__cplusplus) */
1020
1021#endif /* __WINE_UNDOCSHELL_H */
DWORD dwFileAttributes
#define ShellExecCmdLine
HWND hWnd
Definition: settings.c:17
#define EXTERN_C
Definition: basetyps.h:12
WPARAM wParam
Definition: combotst.c:138
static HWND hwndParent
Definition: cryptui.c:300
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
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 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_writes_z_(size)
Definition: ms_sal.h:352
#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
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:481
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Definition: shtypes.idl:41
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
ITEMIDLIST idl
Definition: undocshell.h:218
LPDWORD lpdwUser
Definition: undocshell.h:524
DWORD dwReserved
Definition: undocshell.h:521
LPCITEMIDLIST pidl
Definition: undocshell.h:523
DWORD dwReserved2
Definition: undocshell.h:522
LPCITEMIDLIST pidl
Definition: undocshell.h:554
STRRET lpText
Definition: undocshell.h:557
DWORD dwDestAttribs
Definition: undocshell.h:547
DWORD dwSrcAttribs
Definition: undocshell.h:545
LPCSTR pszSrcFile
Definition: undocshell.h:544
LPCSTR pszDestFile
Definition: undocshell.h:546
LPCITEMIDLIST pidl
Definition: undocshell.h:533
LPDWORD lpdwUser
Definition: undocshell.h:534
LPCWSTR lpFile
Definition: undocshell.h:150
LPCWSTR lpDirectory
Definition: undocshell.h:151
DATABLOCK_HEADER dbh
Definition: undocshell.h:984
WCHAR szwLayerName[64]
Definition: undocshell.h:978
DATABLOCK_HEADER dbh
Definition: undocshell.h:976
CHAR szMachineID[16]
Definition: undocshell.h:965
GUID guidDroidObject
Definition: undocshell.h:968
DATABLOCK_HEADER dbh
Definition: undocshell.h:959
GUID guidDroidBirthVolume
Definition: undocshell.h:969
GUID guidDroidVolume
Definition: undocshell.h:967
GUID guidDroidBirthObject
Definition: undocshell.h:970
DATABLOCK_HEADER dbh
Definition: undocshell.h:995
const uint16_t * PCWSTR
Definition: typedefs.h:57
unsigned char * LPBYTE
Definition: typedefs.h:53
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
LPITEMIDLIST WINAPI SHSimpleIDListFromPathA(LPCSTR lpszPath)
Definition: pidl.c:1093
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:107
LPVOID WINAPI PathBuildRootAW(LPVOID lpszPath, int drive)
BOOL WINAPI DAD_DragEnter(HWND hWnd)
Definition: shellord.c:1559
struct SFVSELECTSTATE * LPSFVSELECTSTATE
BOOL WINAPI FileMenu_DeleteItemByIndex(HMENU hMenu, UINT uPos)
Definition: shlmenu.c:727
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:173
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:526
VOID WINAPI PathQualifyA(LPSTR pszPath)
Definition: shellpath.c:814
LPITEMIDLIST WINAPI ILGlobalClone(LPCITEMIDLIST pidl)
Definition: pidl.c:460
BOOL WINAPI PathIsExeAW(LPCVOID lpszPath)
Definition: shellpath.c:561
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
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:540
HRESULT WINAPI SHILCreateFromPathW(LPCWSTR path, LPITEMIDLIST *ppidl, DWORD *attributes)
Definition: pidl.c:392
struct _SHCNF_PRINTJOB_INFO * PSHCNF_PRINTJOB_INFO
BOOL WINAPI RegisterShellHook(HWND hWnd, DWORD dwType)
Definition: shellord.c:311
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:1541
DWORD WINAPI FileMenu_GetItemExtent(HMENU hMenu, UINT uPos)
Definition: shlmenu.c:785
void WINAPI PathStripPathAW(LPVOID lpszPath)
struct tagSHELL_LINK_INFOA * LPSHELL_LINK_INFOA
HRESULT WINAPI SHCreatePropertyBag(_In_ REFIID riid, _Out_ void **ppvObj)
Definition: utils.cpp:112
EXTERN_C HRESULT WINAPI SHCreateSessionKey(REGSAM samDesired, PHKEY phKey)
Definition: shellreg.c:146
VOID WINAPI PathSetDlgItemPathAW(HWND hDlg, int nIDDlgItem, LPCVOID lpszPath)
LPNMRUNFILEDLGW LPNMRUNFILEDLG
Definition: undocshell.h:157
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:156
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:515
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:411
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)
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)
Definition: utils.cpp:342
const SFVCOPYHOOKINFO * LPCSFVCOPYHOOKINFO
Definition: undocshell.h:549
struct tagSHELL_LINK_INFO_VOLUME_IDA SHELL_LINK_INFO_VOLUME_IDA
HRESULT WINAPI SHGetImageList(int iImageList, REFIID riid, void **ppv)
Definition: shellord.c:2406
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:571
LRESULT WINAPI FileMenu_DrawItem(HWND hWnd, LPDRAWITEMSTRUCT lpdis)
Definition: shlmenu.c:586
BOOL WINAPI ILGetDisplayName(LPCITEMIDLIST pidl, LPVOID path)
Definition: pidl.c:174
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)
Definition: utils.cpp:304
void WINAPI ShellDDEInit(BOOL bInit)
Definition: shdocvw_main.c:262
void WINAPI SHHandleDiskFull(HWND hwndOwner, UINT uDrive)
Definition: stubs.cpp:912
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)
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:122
HRESULT WINAPI PathProcessCommandAW(LPCVOID lpszPath, LPVOID lpszBuff, DWORD dwBuffSize, DWORD dwFlags)
Definition: shellpath.c:1009
const SFVSELECTSTATE * LPCSFVSELECTSTATE
Definition: undocshell.h:536
void WINAPI ILGlobalFree(LPITEMIDLIST pidl)
Definition: pidl.c:949
int WINAPI PathParseIconLocationAW(LPVOID lpszPath)
BOOL WINAPI ILGetDisplayNameEx(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPVOID path, DWORD type)
Definition: pidl.c:162
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:966
VOID WINAPI CheckEscapesW(LPWSTR string, DWORD len)
Definition: shellstring.c:252
BOOL WINAPI FileIconInit(BOOL bFullInit)
Definition: shellord.c:1694
LPITEMIDLIST WINAPI SHSimpleIDListFromPathW(LPCWSTR lpszPath)
Definition: pidl.c:1124
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:1610
BOOL WINAPI DAD_SetDragImageFromListView(HWND hWnd, POINT pt)
Definition: stubs.cpp:901
LPWSTR WINAPI SheRemoveQuotesW(LPWSTR psz)
Definition: utils.cpp:147
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
DWORD WINAPI SHGetUserSessionId(_In_opt_ HANDLE hToken)
Definition: utils.cpp:43
LRESULT WINAPI FileMenu_MeasureItem(HWND hWnd, LPMEASUREITEMSTRUCT lpmis)
Definition: shlmenu.c:558
HRESULT(CALLBACK * LPFNCDCOCALLBACK)(LPUNKNOWN pUnkOuter, REFIID riidObject, LPVOID *ppvObject)
Definition: undocshell.h:610
HRESULT WINAPI SHRevokeDragDrop(HWND hWnd)
Definition: shellord.c:575
VOID WINAPI PathQualifyW(LPWSTR pszPath)
Definition: shellpath.c:826
BOOL WINAPI PathMakeUniqueNameAW(LPVOID lpszBuffer, DWORD dwBuffSize, LPCVOID lpszShortName, LPCVOID lpszLongName, LPCVOID lpszPathName)
Definition: shellpath.c:690
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:843
HICON WINAPI SHGetFileIcon(DWORD dwReserved, LPCSTR lpszPath, DWORD dwFileAttributes, UINT uFlags)
INT WINAPI Shell_GetCachedImageIndex(LPCWSTR szPath, INT nIndex, UINT bSimulateDoc)
Definition: iconcache.cpp:855
BOOL WINAPI SHWaitForFileToOpen(LPCITEMIDLIST pidl, DWORD dwFlags, DWORD dwTimeout)
Definition: shellord.c:1782
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
void WINAPI PathRemoveExtensionAW(LPVOID lpszPath)
BOOL WINAPI Shell_GetImageLists(HIMAGELIST *lphimlLarge, HIMAGELIST *lphimlSmall)
Definition: iconcache.cpp:700
HRESULT WINAPI SHILCreateFromPathA(LPCSTR path, LPITEMIDLIST *ppidl, DWORD *attributes)
Definition: pidl.c:380
struct SFVCOLUMNINFO * LPSFVCOLUMNINFO
NMRUNFILEDLGW NMRUNFILEDLG
Definition: undocshell.h:155
BOOL WINAPI PathRemoveFileSpecAW(LPVOID lpszPath)
Definition: shellpath.c:457
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:77
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
struct tagEXP_VISTA_ID_LIST EXP_VISTA_ID_LIST
DWORD WINAPI SHNetConnectionDialog(HWND hwndOwner, LPCWSTR lpstrRemoteName, DWORD dwType)
Definition: stubs.cpp:888
struct tagEXP_SHIM * LPEXP_SHIM
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:34
int WINAPI SHOutOfMemoryMessageBox(HWND hwndOwner, LPCSTR lpCaption, UINT uType)
Definition: shellord.c:1761
void(CALLBACK * LPFNFMCALLBACK)(LPCITEMIDLIST pidlFolder, LPCITEMIDLIST pidlFile)
Definition: undocshell.h:281
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:835
BOOL WINAPI PathYetAnotherMakeUniqueName(LPWSTR lpszBuffer, LPCWSTR lpszPathName, LPCWSTR lpszShortName, LPCWSTR lpszLongName)
Definition: shellpath.c:705
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
_In_opt_ LPSTR _In_opt_ LPSTR _In_ DWORD _In_ DWORD _Out_opt_ PHANDLE phToken
Definition: winbase.h:2705
_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 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:4609
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