From 4ee4c06410214e418d35cee3671460e2924059ba Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Tue, 20 Oct 2015 16:16:54 +0300 Subject: [PATCH] shell32: Cleanup ReadCabinetState exports. Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/shell32/shell32.spec | 6 +++--- dlls/shell32/shellord.c | 15 --------------- 2 files changed, 3 insertions(+), 18 deletions(-) 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] *