- Add correct names for all stubs (based on information from http://www.geoffchappell.com/studies/windows/shell/shell32/api/index.htm)

- Fix SHSetShellWindowEx

svn path=/trunk/; revision=39329
This commit is contained in:
Dmitry Chapyshev 2009-02-03 15:07:53 +00:00
parent 8517038812
commit b89298805f
2 changed files with 66 additions and 94 deletions

View file

@ -4,12 +4,12 @@
4 stdcall SHChangeNotifyDeregister(long) 4 stdcall SHChangeNotifyDeregister(long)
5 stdcall -noname SHChangeNotifyUpdateEntryList(long long long long) 5 stdcall -noname SHChangeNotifyUpdateEntryList(long long long long)
6 stdcall SHDefExtractIconW(wstr long long ptr ptr long) 6 stdcall SHDefExtractIconW(wstr long long ptr ptr long)
7 stub -noname Shell_7 7 stub -noname SHLookupIconIndexA
8 stub -noname Shell_8 8 stub -noname SHLookupIconIndexW
9 stub PifMgr_OpenProperties 9 stub PifMgr_OpenProperties
10 stub PifMgr_GetProperties 10 stub PifMgr_GetProperties
11 stub PifMgr_SetProperties 11 stub PifMgr_SetProperties
12 stub -noname Shell_12 12 stub -noname SHStartNetConnectionDialogA
13 stub PifMgr_CloseProperties 13 stub PifMgr_CloseProperties
14 stub SHStartNetConnectionDialogW 14 stub SHStartNetConnectionDialogW
15 stdcall -noname ILGetDisplayName(ptr ptr) 15 stdcall -noname ILGetDisplayName(ptr ptr)
@ -50,7 +50,7 @@
50 stdcall -noname PathStripToRoot(wstr) PathStripToRootW 50 stdcall -noname PathStripToRoot(wstr) PathStripToRootW
51 stdcall PathResolve(str long long) PathResolveAW 51 stdcall PathResolve(str long long) PathResolveAW
52 stdcall -noname PathGetArgs(wstr) PathGetArgsW 52 stdcall -noname PathGetArgs(wstr) PathGetArgsW
53 stub -noname Shell_53 53 stub -noname IsSuspendAllowed
54 stub -noname LogoffWindowsDialog 54 stub -noname LogoffWindowsDialog
55 stdcall -noname PathQuoteSpaces(wstr) PathQuoteSpacesW 55 stdcall -noname PathQuoteSpaces(wstr) PathQuoteSpacesW
56 stdcall -noname PathUnquoteSpaces(wstr) PathUnquoteSpacesW 56 stdcall -noname PathUnquoteSpaces(wstr) PathUnquoteSpacesW
@ -79,7 +79,7 @@
79 stdcall -noname StrToOleStrN(wstr long str long) StrToOleStrNAW # Fixme 79 stdcall -noname StrToOleStrN(wstr long str long) StrToOleStrNAW # Fixme
80 stub SHOpenPropSheetW 80 stub SHOpenPropSheetW
81 stdcall OpenAs_RunDLLA(long long str long) 81 stdcall OpenAs_RunDLLA(long long str long)
82 stub -noname Shell_82 82 stub -noname DDECreatePostNotify
83 stdcall -noname CIDLData_CreateFromIDArray(ptr long ptr ptr) 83 stdcall -noname CIDLData_CreateFromIDArray(ptr long ptr ptr)
84 stub SHIsBadInterfacePtr # Fixme 84 stub SHIsBadInterfacePtr # Fixme
85 stdcall OpenRegStream(long str str long) shlwapi.SHOpenRegStreamA 85 stdcall OpenRegStream(long str str long) shlwapi.SHOpenRegStreamA
@ -227,34 +227,34 @@
227 stdcall FreeIconList(long) 227 stdcall FreeIconList(long)
228 stub InternalExtractIconListA 228 stub InternalExtractIconListA
229 stub InternalExtractIconListW 229 stub InternalExtractIconListW
230 stub -noname Shell_230 230 stub -noname FirstUserLogon
231 stub -noname Shell_231 231 stub -noname SHSetFolderPathA
232 stub -noname Shell_232 232 stub -noname SHSetFolderPathW
233 stub -noname Shell_233 233 stub -noname SHGetUserPicturePathW
234 stub -noname Shell_234 234 stub -noname SHSetUserPicturePathW
235 stub -noname Shell_235 235 stub -noname SHOpenEffectiveToken
236 stub -noname Shell_236 236 stub -noname SHTestTokenPrivilegeW
237 stub -noname Shell_237 237 stub -noname SHShouldShowWizards
238 stdcall Options_RunDLL(ptr ptr str long) 238 stdcall Options_RunDLL(ptr ptr str long)
239 stub PathIsSlowW 239 stub PathIsSlowW
240 stub PathIsSlowA 240 stub PathIsSlowA
241 stub -noname Shell_241 241 stub -noname SHGetUserDisplayName
242 stub -noname Shell_242 242 stub -noname SHGetProcessDword
243 stdcall @(long long) shell32_243 # Fixme !!! Call SetShellWindowEx() 243 stdcall -noname SHSetShellWindowEx(ptr ptr) user32.SetShellWindowEx
244 stdcall -noname SHInitRestricted(ptr ptr) 244 stdcall -noname SHInitRestricted(ptr ptr)
245 stub SHTestTokenMembership 245 stub SHTestTokenMembership
246 stub -noname Shell_246 246 stub -noname SHInvokePrivilegedFunctionW
247 stub -noname Shell_247 247 stub -noname SHGetActiveConsoleSessionId
248 stub -noname Shell_248 # Fixme 248 stub -noname SHGetUserSessionId # Fixme
249 stdcall -noname PathParseIconLocation(wstr) PathParseIconLocationW 249 stdcall -noname PathParseIconLocation(wstr) PathParseIconLocationW
250 stdcall -noname PathRemoveExtension(wstr) PathRemoveExtensionW 250 stdcall -noname PathRemoveExtension(wstr) PathRemoveExtensionW
251 stdcall -noname PathRemoveArgs(wstr) PathRemoveArgsW 251 stdcall -noname PathRemoveArgs(wstr) PathRemoveArgsW
252 stub -noname Shell_252 # Fixme 252 stub -noname PathIsURL # Fixme
253 stub -noname Shell_253 253 stub -noname SHIsCurrentProcessConsoleSession
254 stub -noname Shell_254 254 stub -noname DisconnectWindowsDialog
255 stdcall Options_RunDLLA(ptr ptr str long) 255 stdcall Options_RunDLLA(ptr ptr str long)
256 stdcall SHCreateShellFolderView(ptr ptr) SHELL32_256 # Fixme 256 stdcall SHCreateShellFolderView(ptr ptr)
257 stub -noname Shell_257 # Fixme 257 stub -noname SHGetShellFolderViewCB # Fixme
258 stdcall -noname LinkWindow_RegisterClass() 258 stdcall -noname LinkWindow_RegisterClass()
259 stdcall -noname LinkWindow_UnregisterClass() 259 stdcall -noname LinkWindow_UnregisterClass()
260 stdcall Options_RunDLLW(ptr ptr wstr long) 260 stdcall Options_RunDLLW(ptr ptr wstr long)
@ -409,61 +409,61 @@
646 stub -noname SHChangeRegistrationReceive # Fixme 646 stub -noname SHChangeRegistrationReceive # Fixme
648 stub -noname SHWaitOp_Operate 648 stub -noname SHWaitOp_Operate
650 stdcall -noname PathIsSameRoot(ptr ptr) PathIsSameRootAW # Fixme 650 stdcall -noname PathIsSameRoot(ptr ptr) PathIsSameRootAW # Fixme
651 stdcall -noname SHReadCabinetState(long long) ReadCabinetState # Fixme 651 stdcall -noname OldReadCabinetState(long long) ReadCabinetState
652 stdcall WriteCabinetState(long) 652 stdcall WriteCabinetState(long)
653 stdcall PathProcessCommand(long long long long) PathProcessCommandAW 653 stdcall PathProcessCommand(long long long long) PathProcessCommandAW
654 stdcall ReadCabinetState(long long) 654 stdcall ReadCabinetState(long long)
660 stdcall -noname FileIconInit(long) 660 stdcall -noname FileIconInit(long)
680 stdcall IsUserAnAdmin() 680 stdcall IsUserAnAdmin()
681 stub -noname Shell_681 681 stub -noname SHGetAppCompatFlags
683 stub -noname Shell_683 683 stub -noname SHStgOpenStorageW
684 stub -noname Shell_684 684 stub -noname SHStgOpenStorageA
685 stub SHPropStgCreate 685 stub SHPropStgCreate
688 stub SHPropStgReadMultiple 688 stub SHPropStgReadMultiple
689 stub SHPropStgWriteMultiple 689 stub SHPropStgWriteMultiple
690 stub -noname Shell_690 690 stub -noname SHIsLegacyAnsiProperty
691 stub -noname Shell_691 691 stub -noname SHFileSysBindToStorage
700 stub CDefFolderMenu_Create 700 stub CDefFolderMenu_Create
701 stdcall CDefFolderMenu_Create2(ptr ptr long ptr ptr ptr long ptr ptr) 701 stdcall CDefFolderMenu_Create2(ptr ptr long ptr ptr ptr long ptr ptr)
702 stub -noname Shell_702 702 stub -noname CDefFolderMenu_MergeMenu
703 stub -noname Shell_703 # Fixme 703 stub -noname GUIDFromStringA # Fixme
704 stdcall -noname GUIDFromStringW(wstr ptr) # Fixme 704 stdcall -noname GUIDFromStringW(wstr ptr) # Fixme
707 stub -noname Shell_707 # Fixme 707 stub -noname SHOpenPropSheetA # Fixme
708 stub -noname Shell_708 708 stub -noname SHGetSetFolderCustomSettingsA
709 stub SHGetSetFolderCustomSettingsW 709 stub SHGetSetFolderCustomSettingsW
711 stub -noname Shell_711 711 stub -noname CheckWinIniForAssocs
712 stub -noname Shell_712 # Fixme 712 stub -noname SHCopyMonikerToTemp # Fixme
713 stub -noname Shell_713 713 stub -noname PathIsTemporaryA
714 stdcall @(ptr) SHELL32_714 # PathIsTemporaryW # Fixme 714 stdcall -noname PathIsTemporaryW(wstr)
715 stub -noname Shell_715 # Fixme 715 stub -noname SHCreatePropertyBag # Fixme
716 stub SHMultiFileProperties 716 stub SHMultiFileProperties
719 stub -noname Shell_719 719 stub -noname SHParseDarwinIDFromCacheW
720 stub -noname Shell_720 720 stub -noname MakeShellURLFromPathA
721 stub -noname Shell_721 721 stub -noname MakeShellURLFromPathW
722 stub -noname Shell_722 722 stub -noname SHCreateInstance
723 stub -noname Shell_723 723 stub -noname SHCreateSessionKey
724 stub -noname Shell_724 724 stub -noname SHIsTempDisplayMode
725 stub -noname Shell_725 725 stub -noname GetFileDescriptor
726 stub -noname Shell_726 726 stub -noname CopyStreamUI
727 stdcall SHGetImageList(long ptr ptr) 727 stdcall SHGetImageList(long ptr ptr)
730 stdcall RestartDialogEx(long wstr long long) 730 stdcall RestartDialogEx(long wstr long long)
731 stub -noname Shell_731 731 stub -noname SHRegisterDarwinLink
732 stub -noname Shell_732 732 stub -noname SHReValidateDarwinCache
733 stub -noname Shell_733 733 stub -noname CheckDiskSpace
740 stub -noname Shell_740 740 stub -noname SHCreateFileDataObject
743 stub SHCreateFileExtractIconW 743 stub SHCreateFileExtractIconW
744 stub -noname Shell_744 744 stub -noname Create_IEnumUICommand
745 stub -noname Shell_745 745 stub -noname Create_IUIElement
747 stdcall SHLimitInputEdit(ptr ptr) 747 stdcall SHLimitInputEdit(ptr ptr)
748 stdcall -noname SHLimitInputCombo(ptr ptr) 748 stdcall -noname SHLimitInputCombo(ptr ptr)
749 stub SHGetShellStyleHInstance 749 stub SHGetShellStyleHInstance
750 stub SHGetAttributesFromDataObject 750 stub SHGetAttributesFromDataObject
751 stub -noname Shell_751 751 stub -noname SHSimulateDropOnClsid
752 stub -noname Shell_752 752 stub -noname SHGetComputerDisplayNameW
753 stub -noname Shell_753 753 stub -noname CheckStagingArea
754 stub -noname Shell_754 754 stub -noname SHLimitInputEditWithFlags
755 stub -noname Shell_755 755 stub -noname PathIsEqualOrSubFolder
756 stub -noname Shell_756 756 stub -noname DeleteFileThumbnail
# Functions exported by the WinVista shell32.dll # Functions exported by the WinVista shell32.dll
@ stdcall SHCreateDefaultContextMenu(ptr ptr ptr) @ stdcall SHCreateDefaultContextMenu(ptr ptr ptr)

View file

@ -1470,21 +1470,6 @@ BOOL WINAPI SHWaitForFileToOpen(
return 0; return 0;
} }
/************************************************************************
* @ [SHELL32.654]
*
* NOTES
* first parameter seems to be a pointer (same as passed to WriteCabinetState)
* second one could be a size (0x0c). The size is the same as the structure saved to
* HCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState
* I'm (js) guessing: this one is just ReadCabinetState ;-)
*/
HRESULT WINAPI shell32_654 (CABINETSTATE *cs, int length)
{
TRACE("%p %d\n",cs,length);
return ReadCabinetState(cs,length);
}
/************************************************************************ /************************************************************************
* RLBuildListOfPaths [SHELL32.146] * RLBuildListOfPaths [SHELL32.146]
* *
@ -1577,19 +1562,6 @@ DWORD WINAPI DoEnvironmentSubstAW(LPVOID x, UINT y)
return DoEnvironmentSubstA(x, y); return DoEnvironmentSubstA(x, y);
} }
/*************************************************************************
* @ [SHELL32.243]
*
* Win98+ by-ordinal routine. In Win98 this routine returns zero and
* does nothing else. Possibly this does something in NT or SHELL32 5.0?
*
*/
BOOL WINAPI shell32_243(DWORD a, DWORD b)
{
return FALSE;
}
/************************************************************************* /*************************************************************************
* GUIDFromStringW [SHELL32.704] * GUIDFromStringW [SHELL32.704]
*/ */
@ -1602,11 +1574,11 @@ BOOL WINAPI GUIDFromStringW(LPCWSTR str, LPGUID guid)
} }
/************************************************************************* /*************************************************************************
* @ [SHELL32.714] * PathIsTemporaryW [SHELL32.714]
*/ */
DWORD WINAPI SHELL32_714(LPVOID x) DWORD WINAPI PathIsTemporaryW(LPWSTR Str)
{ {
FIXME("(%s)stub\n", debugstr_w(x)); FIXME("(%s)stub\n", debugstr_w(Str));
return 0; return 0;
} }
@ -1896,15 +1868,15 @@ HRESULT WINAPI SHCreateStdEnumFmtEtc(
/************************************************************************* /*************************************************************************
* SHELL32_256 (SHELL32.256) * SHCreateShellFolderView (SHELL32.256)
*/ */
HRESULT WINAPI SHELL32_256(LPDWORD lpdw0, LPDWORD lpdw1) HRESULT WINAPI SHCreateShellFolderView(const SFV_CREATE *pcsfv, IShellView **ppsv)
{ {
HRESULT ret = S_OK; HRESULT ret = S_OK;
FIXME("stub %p 0x%08x %p\n", lpdw0, lpdw0 ? *lpdw0 : 0, lpdw1); FIXME("SHCreateShellFolderView() stub\n");
if (!lpdw0 || *lpdw0 != 0x10) if (!pcsfv || sizeof(*pcsfv) != pcsfv->cbSize)
ret = E_INVALIDARG; ret = E_INVALIDARG;
else else
{ {