From 1b2a8190755bc8a4face77707d7ff949ccc53dcb Mon Sep 17 00:00:00 2001 From: Ge van Geldorp Date: Wed, 30 Jun 2004 18:13:09 +0000 Subject: [PATCH] Fix IFileSystemBindData method order. --- dlls/shell32/shlfsbind.c | 2 +- include/shlobj.h | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dlls/shell32/shlfsbind.c b/dlls/shell32/shlfsbind.c index a5a0dc52a8b..0804b1bb6db 100644 --- a/dlls/shell32/shlfsbind.c +++ b/dlls/shell32/shlfsbind.c @@ -58,8 +58,8 @@ static struct ICOM_VTABLE(IFileSystemBindData) sbvt = IFileSystemBindData_fnQueryInterface, IFileSystemBindData_fnAddRef, IFileSystemBindData_fnRelease, - IFileSystemBindData_fnGetFindData, IFileSystemBindData_fnSetFindData, + IFileSystemBindData_fnGetFindData, }; static const WCHAR wFileSystemBindData[] = {'F','i','l','e',' ','S','y','s','t','e','m',' ','B','i','n','d','D','a','t','a',0}; diff --git a/include/shlobj.h b/include/shlobj.h index a5c9b8a71d3..92ed669f2d8 100644 --- a/include/shlobj.h +++ b/include/shlobj.h @@ -940,12 +940,12 @@ DEFINE_GUID(IID_IFileSystemBindData, 0x01e18d10, 0x4d8b, 0x11d2, 0x85,0x5d, 0x00 #if defined(__cplusplus) && !defined(CINTERFACE) struct IFileSystemBindData : public IUnknown { - virtual HRESULT STDMETHODCALLTYPE GetFindData( - WIN32_FIND_DATAW* pfd) = 0; - virtual HRESULT STDMETHODCALLTYPE SetFindData( const WIN32_FIND_DATAW* pfd) = 0; + virtual HRESULT STDMETHODCALLTYPE GetFindData( + WIN32_FIND_DATAW* pfd) = 0; + }; #else typedef struct IFileSystemBindDataVtbl IFileSystemBindDataVtbl; @@ -968,14 +968,14 @@ struct IFileSystemBindDataVtbl { IFileSystemBindData* This); /*** IFileSystemBindData methods ***/ - HRESULT (STDMETHODCALLTYPE *GetFindData)( - IFileSystemBindData* This, - WIN32_FIND_DATAW* pfd); - HRESULT (STDMETHODCALLTYPE *SetFindData)( IFileSystemBindData* This, const WIN32_FIND_DATAW* pfd); + HRESULT (STDMETHODCALLTYPE *GetFindData)( + IFileSystemBindData* This, + WIN32_FIND_DATAW* pfd); + }; /*** IUnknown methods ***/ -- 2.11.4.GIT