- add IDS_FOLDER_OPTIONS constant

- start implementing folder options cpl
- export a few functions by name, patch by Kamil Hornicek(Pigglesworth)
- move Options_RunDll[A|W] to new file folder_options.c

svn path=/trunk/; revision=31234
This commit is contained in:
Johannes Anderwald 2007-12-15 11:13:01 +00:00
parent 3e0d6fc8cf
commit fec18d2cf4
35 changed files with 312 additions and 128 deletions

View file

@ -0,0 +1,176 @@
/*
* Open With Context Menu extension
*
* Copyright 2007 Johannes Anderwald <janderwald@reactos.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <string.h>
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "winerror.h"
#include "wine/debug.h"
#include "windef.h"
#include "wingdi.h"
#include "pidl.h"
#include "undocshell.h"
#include "shlobj.h"
#include "objbase.h"
#include "commdlg.h"
#include "shell32_main.h"
#include "shellfolder.h"
#include "shresdef.h"
#include "stdio.h"
#include "shlwapi.h"
WINE_DEFAULT_DEBUG_CHANNEL (fprop);
/// Folder Options:
/// CLASSKEY = HKEY_CLASSES_ROOT\CLSID\{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF}
/// DefaultIcon = %SystemRoot%\system32\SHELL32.dll,-210
/// Verbs: Open / RunAs
/// Cmd: rundll32.exe shell32.dll,Options_RunDLL 0
/// ShellFolder Attributes: 0x0
INT_PTR
CALLBACK
FolderOptionsGeneralDlg(
HWND hwndDlg,
UINT uMsg,
WPARAM wParam,
LPARAM lParam
)
{
return FALSE;
}
INT_PTR
CALLBACK
FolderOptionsViewDlg(
HWND hwndDlg,
UINT uMsg,
WPARAM wParam,
LPARAM lParam
)
{
return FALSE;
}
INT_PTR
CALLBACK
FolderOptionsFileTypesDlg(
HWND hwndDlg,
UINT uMsg,
WPARAM wParam,
LPARAM lParam
)
{
return FALSE;
}
VOID
ShowFolderOptionsDialog(HWND hWnd, HINSTANCE hInst)
{
PROPSHEETHEADERW pinfo;
HPROPSHEETPAGE hppages[3];
HPROPSHEETPAGE hpage;
UINT num_pages = 0;
WCHAR szOptions[100];
hpage = SH_CreatePropertySheetPage("FOLDER_OPTIONS_GENERAL_DLG", FolderOptionsGeneralDlg, 0, NULL);
if (hpage)
hppages[num_pages++] = hpage;
hpage = SH_CreatePropertySheetPage("FOLDER_OPTIONS_VIEW_DLG", FolderOptionsViewDlg, 0, NULL);
if (hpage)
hppages[num_pages++] = hpage;
hpage = SH_CreatePropertySheetPage("FOLDER_OPTIONS_FILETYPES_DLG", FolderOptionsFileTypesDlg, 0, NULL);
if (hpage)
hppages[num_pages++] = hpage;
szOptions[0] = L'\0';
LoadStringW(hInst, IDS_FOLDER_OPTIONS, szOptions, sizeof(szOptions) / sizeof(WCHAR));
szOptions[99] = L'\0';
memset(&pinfo, 0x0, sizeof(PROPSHEETHEADERW));
pinfo.dwSize = sizeof(PROPSHEETHEADERW);
pinfo.dwFlags = PSH_NOCONTEXTHELP | PSH_PROPTITLE;
pinfo.nPages = num_pages;
pinfo.u3.phpage = hppages;
pinfo.pszCaption = szOptions;
PropertySheetW(&pinfo);
}
VOID
Options_RunDLLCommon(HWND hWnd, HINSTANCE hInst, int fOptions, DWORD nCmdShow)
{
switch(fOptions)
{
case 0:
ShowFolderOptionsDialog(hWnd, hInst);
break;
case 1:
// show taskbar options dialog
FIXME("notify explorer to show taskbar options dialog");
//PostMessage(GetShellWindow(), WM_USER+22, fOptions, 0);
break;
default:
FIXME("unrecognized options id %d\n", fOptions);
}
}
/*************************************************************************
* Options_RunDLL (SHELL32.@)
*/
VOID WINAPI Options_RunDLL(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow)
{
Options_RunDLLCommon(hWnd, hInst, StrToIntA(cmd), nCmdShow);
}
/*************************************************************************
* Options_RunDLLA (SHELL32.@)
*/
VOID WINAPI Options_RunDLLA(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow)
{
Options_RunDLLCommon(hWnd, hInst, StrToIntA(cmd), nCmdShow);
}
/*************************************************************************
* Options_RunDLLW (SHELL32.@)
*/
VOID WINAPI Options_RunDLLW(HWND hWnd, HINSTANCE hInst, LPCWSTR cmd, DWORD nCmdShow)
{
Options_RunDLLCommon(hWnd, hInst, StrToIntW(cmd), nCmdShow);
}

View file

@ -640,4 +640,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Нови"
FCIDM_SHVIEW_NEWFOLDER "Нова &папка"
FCIDM_SHVIEW_NEWLINK "Нова &връзка"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -642,4 +642,5 @@ BEGIN
FCIDM_SHVIEW_NEW "&Nový"
FCIDM_SHVIEW_NEWFOLDER "Nová &složka"
FCIDM_SHVIEW_NEWLINK "Nový &zástupce"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -642,4 +642,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Neu"
FCIDM_SHVIEW_NEWFOLDER "Neues Ver&zeichnis"
FCIDM_SHVIEW_NEWLINK "Neuer Ver&weis"
IDS_FOLDER_OPTIONS "Ordneroptionen"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Δημιουργία"
FCIDM_SHVIEW_NEWFOLDER "Νέος &Φάκελος"
FCIDM_SHVIEW_NEWLINK "Νέα &Συντόμευση"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -642,4 +642,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Nuevo"
FCIDM_SHVIEW_NEWFOLDER "Nueva &carpeta"
FCIDM_SHVIEW_NEWLINK "Nuevo &acceso directo"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Uusi"
FCIDM_SHVIEW_NEWFOLDER "Uusi &Kansio"
FCIDM_SHVIEW_NEWLINK "Uusi &Linkki"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -645,4 +645,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Nouveau"
FCIDM_SHVIEW_NEWFOLDER "Nouveau d&ossier"
FCIDM_SHVIEW_NEWLINK "Nouveau &lien"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -644,4 +644,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Ú&j"
FCIDM_SHVIEW_NEWFOLDER "&Mappa"
FCIDM_SHVIEW_NEWLINK "&Parancsikon"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -642,4 +642,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Nuovo"
FCIDM_SHVIEW_NEWFOLDER "Nuova &Cartella"
FCIDM_SHVIEW_NEWLINK "Nuovo &Collegamento"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "新規作成"
FCIDM_SHVIEW_NEWFOLDER "フォルダ(&F)"
FCIDM_SHVIEW_NEWLINK "ショートカット(&L)"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Ny"
FCIDM_SHVIEW_NEWFOLDER "Ny &mappe"
FCIDM_SHVIEW_NEWLINK "Ny &snarvei"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -642,4 +642,5 @@ BEGIN
FCIDM_SHVIEW_NEW "&Nowy"
FCIDM_SHVIEW_NEWFOLDER "&Folder"
FCIDM_SHVIEW_NEWLINK "&Skrót"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -643,5 +643,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Novo"
FCIDM_SHVIEW_NEWFOLDER "&Pasta"
FCIDM_SHVIEW_NEWLINK "&Atalho"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -643,4 +643,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Novo"
FCIDM_SHVIEW_NEWFOLDER "&Pasta"
FCIDM_SHVIEW_NEWLINK "&Atalho"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -640,4 +640,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Ñîçäàòü"
FCIDM_SHVIEW_NEWFOLDER "&Ïàïêà"
FCIDM_SHVIEW_NEWLINK "&ßðëûê"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Yeni"
FCIDM_SHVIEW_NEWFOLDER "Yeni &Dizin"
FCIDM_SHVIEW_NEWLINK "Yeni &Kýsayol"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -642,4 +642,5 @@ BEGIN
FCIDM_SHVIEW_NEW "Ñòâîðèòè"
FCIDM_SHVIEW_NEWFOLDER "&Ïàïêó"
FCIDM_SHVIEW_NEWLINK "&ßðëèê"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -641,4 +641,5 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END

View file

@ -642,6 +642,7 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END
#pragma code_page(default)

View file

@ -642,6 +642,7 @@ BEGIN
FCIDM_SHVIEW_NEW "New"
FCIDM_SHVIEW_NEWFOLDER "New &Folder"
FCIDM_SHVIEW_NEWLINK "New &Link"
IDS_FOLDER_OPTIONS "Folder Options"
END
#pragma code_page(default)

View file

@ -72,4 +72,5 @@
<file>recyclebin.c</file>
<file>she_ocmenu.c</file>
<file>shv_item_new.c</file>
<file>folder_options.c</file>
</module>

View file

@ -3,28 +3,28 @@
# win95 and winNT dlls import shell32.dll by ordinal)
# This list was updated to dll version 4.72
2 stdcall -noname SHChangeNotifyRegister(long long long long long ptr)
2 stdcall SHChangeNotifyRegister(long long long long long ptr)
3 stdcall SHDefExtractIconA(str long long ptr ptr long)
4 stdcall -noname SHChangeNotifyDeregister(long)
4 stdcall SHChangeNotifyDeregister(long)
5 stdcall -noname SHChangeNotifyUpdateEntryList(long long long long)
6 stdcall SHDefExtractIconW(wstr long long ptr ptr long)
9 stub -noname PifMgr_OpenProperties
10 stub -noname PifMgr_GetProperties
11 stub -noname PifMgr_SetProperties
13 stub -noname PifMgr_CloseProperties
9 stub PifMgr_OpenProperties
10 stub PifMgr_GetProperties
11 stub PifMgr_SetProperties
13 stub PifMgr_CloseProperties
15 stdcall -noname ILGetDisplayName(ptr ptr)
16 stdcall -noname ILFindLastID(ptr)
17 stdcall -noname ILRemoveLastID(ptr)
18 stdcall -noname ILClone(ptr)
19 stdcall -noname ILCloneFirst(ptr)
16 stdcall ILFindLastID(ptr)
17 stdcall ILRemoveLastID(ptr)
18 stdcall ILClone(ptr)
19 stdcall ILCloneFirst(ptr)
20 stdcall -noname ILGlobalClone(ptr)
21 stdcall -noname ILIsEqual(ptr ptr)
23 stdcall -noname ILIsParent(ptr ptr long)
24 stdcall -noname ILFindChild(ptr ptr)
25 stdcall -noname ILCombine(ptr ptr)
26 stdcall -noname ILLoadFromStream(ptr ptr)
27 stdcall -noname ILSaveToStream(ptr ptr)
28 stdcall -noname SHILCreateFromPath(ptr ptr ptr) SHILCreateFromPathAW
21 stdcall ILIsEqual(ptr ptr)
23 stdcall ILIsParent(ptr ptr long)
24 stdcall ILFindChild(ptr ptr)
25 stdcall ILCombine(ptr ptr)
26 stdcall ILLoadFromStream(ptr ptr)
27 stdcall ILSaveToStream(ptr ptr)
28 stdcall SHILCreateFromPath(ptr ptr ptr) SHILCreateFromPathAW
29 stdcall -noname PathIsRoot(ptr) PathIsRootAW
30 stdcall -noname PathBuildRoot(ptr long) PathBuildRootAW
31 stdcall -noname PathFindExtension(ptr) PathFindExtensionAW
@ -37,65 +37,65 @@
38 stdcall -noname PathStripPath(ptr)PathStripPathAW
39 stdcall -noname PathIsUNC(ptr) PathIsUNCAW
40 stdcall -noname PathIsRelative(ptr) PathIsRelativeAW
41 stdcall -noname IsLFNDriveA(str)
42 stdcall -noname IsLFNDriveW(wstr)
43 stdcall -noname PathIsExe(ptr) PathIsExeAW
41 stdcall IsLFNDriveA(str)
42 stdcall IsLFNDriveW(wstr)
43 stdcall PathIsExe(ptr) PathIsExeAW
45 stdcall -noname PathFileExists(ptr) PathFileExistsAW
46 stdcall -noname PathMatchSpec(ptr ptr) PathMatchSpecAW
47 stdcall -noname PathMakeUniqueName(ptr long ptr ptr ptr)PathMakeUniqueNameAW
47 stdcall PathMakeUniqueName(ptr long ptr ptr ptr)PathMakeUniqueNameAW
48 stdcall -noname PathSetDlgItemPath(long long ptr) PathSetDlgItemPathAW
49 stdcall -noname PathQualify(ptr) PathQualifyAW
49 stdcall PathQualify(ptr) PathQualifyAW
50 stdcall -noname PathStripToRoot(ptr) PathStripToRootAW
51 stdcall PathResolve(str long long) PathResolveAW
52 stdcall -noname PathGetArgs(str) PathGetArgsAW
53 stdcall DoEnvironmentSubst(long long) DoEnvironmentSubstAW
53 stdcall -noname DoEnvironmentSubst(long long) DoEnvironmentSubstAW
54 stdcall -noname LogoffWindowsDialog(ptr)
55 stdcall -noname PathQuoteSpaces(ptr) PathQuoteSpacesAW
56 stdcall -noname PathUnquoteSpaces(str) PathUnquoteSpacesAW
57 stdcall -noname PathGetDriveNumber(str) PathGetDriveNumberAW
58 stdcall -noname ParseField(str long ptr long) ParseFieldAW
59 stdcall -noname RestartDialog(long wstr long)
59 stdcall RestartDialog(long wstr long)
60 stdcall -noname ExitWindowsDialog(long)
61 stdcall -noname RunFileDlg(long long long str str long)
62 stdcall -noname PickIconDlg(long long long long)
63 stdcall -noname GetFileNameFromBrowse(long long long long str str str)
64 stdcall -noname DriveType(long)
62 stdcall PickIconDlg(long long long long)
63 stdcall GetFileNameFromBrowse(long long long long str str str)
64 stdcall DriveType(long)
65 stdcall -noname InvalidateDriveType(long)
66 stdcall -noname IsNetDrive(long)
67 stdcall -noname Shell_MergeMenus(long long long long long long)
68 stdcall -noname SHGetSetSettings(ptr long long)
66 stdcall IsNetDrive(long)
67 stdcall Shell_MergeMenus(long long long long long long)
68 stdcall SHGetSetSettings(ptr long long)
69 stub -noname SHGetNetResource
70 stdcall -noname SHCreateDefClassObject(long long long long long)
71 stdcall -noname Shell_GetImageList(ptr ptr)
72 stdcall -noname Shell_GetCachedImageIndex(ptr ptr long) Shell_GetCachedImageIndexAW
73 stdcall -noname SHShellFolderView_Message(long long long)
74 stdcall -noname SHCreateStdEnumFmtEtc(long ptr ptr)
75 stdcall -noname PathYetAnotherMakeUniqueName(ptr wstr wstr wstr)
76 stub DragQueryInfo
77 stdcall -noname SHMapPIDLToSystemImageListIndex(ptr ptr ptr)
71 stdcall Shell_GetImageList(ptr ptr)
72 stdcall Shell_GetCachedImageIndex(ptr ptr long) Shell_GetCachedImageIndexAW
73 stdcall SHShellFolderView_Message(long long long)
74 stdcall SHCreateStdEnumFmtEtc(long ptr ptr)
75 stdcall PathYetAnotherMakeUniqueName(ptr wstr wstr wstr)
76 stub -noname DragQueryInfo
77 stdcall SHMapPIDLToSystemImageListIndex(ptr ptr ptr)
78 stdcall -noname OleStrToStrN(str long wstr long) OleStrToStrNAW
79 stdcall -noname StrToOleStrN(wstr long str long) StrToOleStrNAW
83 stdcall -noname CIDLData_CreateFromIDArray(ptr long ptr ptr)
84 stub SHIsBadInterfacePtr
85 stdcall -noname OpenRegStream(long str str long) shlwapi.SHOpenRegStreamA
84 stub -noname SHIsBadInterfacePtr
85 stdcall OpenRegStream(long str str long) shlwapi.SHOpenRegStreamA
86 stdcall -noname SHRegisterDragDrop(long ptr)
87 stdcall -noname SHRevokeDragDrop(long)
88 stdcall -noname SHDoDragDrop(long ptr ptr long ptr)
89 stdcall -noname SHCloneSpecialIDList(long long long)
90 stdcall -noname SHFindFiles(ptr ptr)
91 stub SHFindComputer
92 stdcall -noname PathGetShortPath(ptr) PathGetShortPathAW
88 stdcall SHDoDragDrop(long ptr ptr long ptr)
89 stdcall SHCloneSpecialIDList(long long long)
90 stdcall SHFindFiles(ptr ptr)
91 stub -noname SHFindComputer
92 stdcall PathGetShortPath(ptr) PathGetShortPathAW
93 stdcall -noname Win32CreateDirectory(wstr ptr) Win32CreateDirectoryAW
94 stdcall -noname Win32RemoveDirectory(wstr) Win32RemoveDirectoryAW
95 stdcall -noname SHLogILFromFSIL(ptr)
96 stdcall -noname StrRetToStrN(ptr long ptr ptr) StrRetToStrNAW
97 stdcall -noname SHWaitForFileToOpen (long long long)
98 stdcall -noname SHGetRealIDL(ptr ptr ptr)
98 stdcall SHGetRealIDL(ptr ptr ptr)
99 stdcall -noname SetAppStartingCursor(long long)
100 stdcall -noname SHRestricted(long)
102 stdcall -noname SHCoCreateInstance(wstr ptr long ptr ptr)
103 stdcall -noname SignalFileOpen(long)
102 stdcall SHCoCreateInstance(wstr ptr long ptr ptr)
103 stdcall SignalFileOpen(long)
104 stdcall -noname FileMenu_DeleteAllItems(long)
105 stdcall -noname FileMenu_DrawItem(long ptr)
106 stdcall -noname FileMenu_FindSubMenuByPidl(long ptr)
@ -111,9 +111,9 @@
116 stdcall -noname FileMenu_TrackPopupMenuEx(long long long long long long)
117 stdcall -noname FileMenu_DeleteItemByCmd(long long)
118 stdcall -noname FileMenu_Destroy(long)
119 stdcall -noname IsLFNDrive(ptr) IsLFNDriveAW
119 stdcall IsLFNDrive(ptr) IsLFNDriveAW
120 stdcall -noname FileMenu_AbortInitMenu()
121 stdcall -noname SHFlushClipboard()
121 stdcall SHFlushClipboard()
122 stdcall -noname RunDLL_CallEntry16(long long long str long) #name wrong?
123 stdcall -noname SHFreeUnusedLibraries()
124 stdcall -noname FileMenu_AppendFilesForPidl(long ptr long)
@ -121,13 +121,13 @@
126 stdcall -noname SHOutOfMemoryMessageBox(long long long)
127 stdcall -noname SHWinHelp(long long long long)
128 stdcall -noname SHDllGetClassObject(ptr ptr ptr) DllGetClassObject
129 stdcall -noname DAD_AutoScroll(long ptr ptr)
129 stdcall DAD_AutoScroll(long ptr ptr)
130 stdcall -noname DAD_DragEnter(long)
131 stdcall -noname DAD_DragEnterEx(long double)
132 stdcall -noname DAD_DragLeave()
134 stdcall -noname DAD_DragMove(double)
136 stdcall -noname DAD_SetDragImage(long long)
137 stdcall -noname DAD_ShowDragImage(long)
131 stdcall DAD_DragEnterEx(long double)
132 stdcall DAD_DragLeave()
134 stdcall DAD_DragMove(double)
136 stdcall DAD_SetDragImage(long long)
137 stdcall DAD_ShowDragImage(long)
139 stub Desktop_UpdateBriefcaseOnEvent
140 stdcall -noname FileMenu_DeleteItemByIndex(long long)
141 stdcall -noname FileMenu_DeleteItemByFirstID(long long)
@ -136,57 +136,57 @@
144 stdcall -noname FileMenu_GetItemExtent(long long)
145 stdcall -noname PathFindOnPath(ptr ptr) PathFindOnPathAW
146 stdcall -noname RLBuildListOfPaths()
147 stdcall -noname SHCLSIDFromString(long long) SHCLSIDFromStringAW
148 stdcall -noname SHMapIDListToImageListIndexAsync(ptr ptr ptr long ptr ptr ptr ptr ptr)
149 stdcall -noname SHFind_InitMenuPopup(long long long long)
147 stdcall SHCLSIDFromString(long long) SHCLSIDFromStringAW
148 stdcall SHMapIDListToImageListIndexAsync(ptr ptr ptr long ptr ptr ptr ptr ptr)
149 stdcall SHFind_InitMenuPopup(long long long long)
151 stdcall -noname SHLoadOLE(long)
152 stdcall -noname ILGetSize(ptr)
153 stdcall -noname ILGetNext(ptr)
154 stdcall -noname ILAppend(long long long)
155 stdcall -noname ILFree(ptr)
151 stdcall SHLoadOLE(long)
152 stdcall ILGetSize(ptr)
153 stdcall ILGetNext(ptr)
154 stdcall ILAppend(long long long)
155 stdcall ILFree(ptr)
156 stdcall -noname ILGlobalFree(ptr)
157 stdcall -noname ILCreateFromPath(ptr) ILCreateFromPathAW
157 stdcall ILCreateFromPath(ptr) ILCreateFromPathAW
158 stdcall -noname PathGetExtension(str long long) PathGetExtensionAW
159 stdcall -noname PathIsDirectory(ptr) PathIsDirectoryAW
160 stub SHNetConnectionDialog
161 stdcall -noname SHRunControlPanel(long long)
162 stdcall -noname SHSimpleIDListFromPath(ptr) SHSimpleIDListFromPathAW
160 stub -noname SHNetConnectionDialog
161 stdcall SHRunControlPanel(long long)
162 stdcall SHSimpleIDListFromPath(ptr) SHSimpleIDListFromPathAW
163 stdcall -noname StrToOleStr(wstr str) StrToOleStrAW
164 stdcall -noname Win32DeleteFile(str) Win32DeleteFileAW
165 stdcall -noname SHCreateDirectory(long ptr)
166 stdcall -noname CallCPLEntry16(long long long long long long)
167 stdcall -noname SHAddFromPropSheetExtArray(long long long)
168 stdcall -noname SHCreatePropSheetExtArray(long wstr long)
169 stdcall -noname SHDestroyPropSheetExtArray(long)
170 stdcall -noname SHReplaceFromPropSheetExtArray(long long long long)
171 stdcall -noname PathCleanupSpec(ptr ptr)
164 stdcall Win32DeleteFile(str) Win32DeleteFileAW
165 stdcall SHCreateDirectory(long ptr)
166 stdcall CallCPLEntry16(long long long long long long)
167 stdcall SHAddFromPropSheetExtArray(long long long)
168 stdcall SHCreatePropSheetExtArray(long wstr long)
169 stdcall SHDestroyPropSheetExtArray(long)
170 stdcall SHReplaceFromPropSheetExtArray(long long long long)
171 stdcall PathCleanupSpec(ptr ptr)
172 stdcall -noname SHCreateLinks(long str ptr long ptr)
173 stdcall -noname SHValidateUNC(long long long)
174 stdcall -noname SHCreateShellFolderViewEx(ptr ptr)
173 stdcall SHValidateUNC(long long long)
174 stdcall SHCreateShellFolderViewEx(ptr ptr)
175 stdcall -noname SHGetSpecialFolderPath(long long long long) SHGetSpecialFolderPathAW
176 stdcall -noname SHSetInstanceExplorer(long)
177 stub DAD_SetDragImageFromListView
178 stdcall -noname SHObjectProperties(long long wstr wstr)
179 stdcall -noname SHGetNewLinkInfoA(str str ptr long long)
180 stdcall -noname SHGetNewLinkInfoW(wstr wstr ptr long long)
176 stdcall SHSetInstanceExplorer(long)
177 stub -noname DAD_SetDragImageFromListView
178 stdcall SHObjectProperties(long long wstr wstr)
179 stdcall SHGetNewLinkInfoA(str str ptr long long)
180 stdcall SHGetNewLinkInfoW(wstr wstr ptr long long)
181 stdcall -noname RegisterShellHook(long long)
182 varargs -noname ShellMessageBoxW(long long wstr wstr long)
183 varargs -noname ShellMessageBoxA(long long str str long)
182 varargs ShellMessageBoxW(long long wstr wstr long)
183 varargs ShellMessageBoxA(long long str str long)
184 stdcall -noname ArrangeWindows(long long long long long)
185 stub SHHandleDiskFull
185 stub -noname SHHandleDiskFull
186 stdcall -noname ILGetDisplayNameEx(ptr ptr ptr long)
187 stub ILGetPseudoNameW
187 stub -noname ILGetPseudoNameW
188 stdcall -noname ShellDDEInit(long)
189 stdcall -noname ILCreateFromPathA(str)
190 stdcall -noname ILCreateFromPathW(wstr)
191 stdcall -noname SHUpdateImageA(str long long long)
192 stdcall -noname SHUpdateImageW(wstr long long long)
193 stdcall -noname SHHandleUpdateImage(ptr)
189 stdcall ILCreateFromPathA(str)
190 stdcall ILCreateFromPathW(wstr)
191 stdcall SHUpdateImageA(str long long long)
192 stdcall SHUpdateImageW(wstr long long long)
193 stdcall SHHandleUpdateImage(ptr)
194 stdcall -noname SHCreatePropSheetExtArrayEx(long wstr long ptr)
195 stdcall -noname SHFree(ptr)
196 stdcall -noname SHAlloc(long)
197 stub SHGlobalDefect
195 stdcall SHFree(ptr)
196 stdcall SHAlloc(long)
197 stub -noname SHGlobalDefect
198 stdcall -noname SHAbortInvokeCommand()
199 stub SHGetFileIcon
200 stub SHLocalAlloc
@ -228,19 +228,19 @@
511 stdcall SHRegQueryValueExW (long wstr ptr ptr ptr ptr)
512 stdcall SHRegDeleteKeyW (long wstr)
520 stdcall -noname SHAllocShared(ptr long long)
521 stdcall -noname SHLockShared(long long)
522 stdcall -noname SHUnlockShared(ptr)
523 stdcall -noname SHFreeShared(long long)
524 stdcall -noname RealDriveType(long long)
520 stdcall SHAllocShared(ptr long long)
521 stdcall SHLockShared(long long)
522 stdcall SHUnlockShared(ptr)
523 stdcall SHFreeShared(long long)
524 stdcall RealDriveType(long long)
525 stub RealDriveTypeFlags
640 stdcall -noname NTSHChangeNotifyRegister(long long long long long long)
641 stdcall -noname NTSHChangeNotifyDeregister(long)
643 stub SHChangeNotifyReceive
644 stdcall -noname SHChangeNotification_Lock(long long ptr ptr)
645 stdcall -noname SHChangeNotification_Unlock(long)
644 stdcall SHChangeNotification_Lock(long long ptr ptr)
645 stdcall SHChangeNotification_Unlock(long)
646 stub SHChangeRegistrationReceive
647 stub ReceiveAddToRecentDocs
648 stub SHWaitOp_Operate
@ -248,15 +248,15 @@
650 stdcall -noname PathIsSameRoot(ptr ptr) PathIsSameRootAW
651 stdcall -noname ReadCabinetState(long long) # OldReadCabinetState
652 stdcall -noname WriteCabinetState(long)
653 stdcall -noname PathProcessCommand(long long long long) PathProcessCommandAW
652 stdcall WriteCabinetState(long)
653 stdcall PathProcessCommand(long long long long) PathProcessCommandAW
654 stdcall @(long long) shell32_654 # ReadCabinetState@8
660 stdcall -noname FileIconInit(long)
680 stdcall IsUserAnAdmin()
701 stdcall CDefFolderMenu_Create2(ptr ptr long ptr ptr ptr long ptr ptr)
714 stdcall @(ptr) SHELL32_714 # PathIsTemporaryW
730 stdcall -noname RestartDialogEx(long wstr long long)
730 stdcall RestartDialogEx(long wstr long long)
1217 stub FOOBAR1217 # no joke! This is the real name!!

View file

@ -2088,26 +2088,3 @@ BOOL WINAPI LinkWindow_UnregisterClass(void)
return TRUE;
}
/*************************************************************************
* Options_RunDLL (SHELL32.@)
*/
VOID WINAPI Options_RunDLL(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow)
{
PostMessage(GetShellWindow(), WM_USER+22, StrToIntA(cmd), 0);
}
/*************************************************************************
* Options_RunDLLA (SHELL32.@)
*/
VOID WINAPI Options_RunDLLA(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow)
{
PostMessage(GetShellWindow(), WM_USER+22, StrToIntA(cmd), 0);
}
/*************************************************************************
* Options_RunDLLW (SHELL32.@)
*/
VOID WINAPI Options_RunDLLW(HWND hWnd, HINSTANCE hInst, LPCWSTR cmd, DWORD nCmdShow)
{
PostMessage(GetShellWindow(), WM_USER+22, StrToIntW(cmd), 0);
}

View file

@ -109,6 +109,7 @@
#define FCIDM_SHVIEW_VIEW 147
#define IDS_CONTROLPANEL 148
#define IDS_NEWFOLDER 149
#define IDS_FOLDER_OPTIONS 150
/* Note: this string is referenced from the registry */
#define IDS_RECYCLEBIN_FOLDER_NAME 8964