diff --git a/dlls/shell32/shell32.spec b/dlls/shell32/shell32.spec index 91a41387bae..93fd4495ce2 100644 --- a/dlls/shell32/shell32.spec +++ b/dlls/shell32/shell32.spec @@ -245,10 +245,10 @@ 650 stdcall -noname PathIsSameRoot(ptr ptr) PathIsSameRootAW - 651 stdcall -noname ReadCabinetState(long long) # OldReadCabinetState - 652 stdcall -noname WriteCabinetState(long) + 651 stdcall -noname @(ptr long) ReadCabinetState # OldReadCabinetState + 652 stdcall -noname WriteCabinetState(ptr) 653 stdcall -noname PathProcessCommand(long long long long) PathProcessCommandAW - 654 stdcall @(long long) shell32_654 # ReadCabinetState@8 + 654 stdcall ReadCabinetState(ptr long) 660 stdcall -noname FileIconInit(long) 680 stdcall IsUserAnAdmin() diff --git a/dlls/shell32/shellord.c b/dlls/shell32/shellord.c index 7387520bf05..60492de992a 100644 --- a/dlls/shell32/shellord.c +++ b/dlls/shell32/shellord.c @@ -1554,21 +1554,6 @@ BOOL WINAPI SHWaitForFileToOpen( return FALSE; } -/************************************************************************ - * @ [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] *