[PATCH] shobjidl.idl: Fix some typo's.

Mark Jansen mark.jansen at reactos.org
Mon Jan 29 08:26:56 CST 2018


Some typo's found while trying to to compile objects created from this 
IDL against Microsoft's SDK.

-------------- next part --------------
From 9514c725fad4e6b0823d4b18b960ed5d052efc4a Mon Sep 17 00:00:00 2001
From: Mark Jansen <mark.jansen at reactos.org>
Date: Thu, 4 Jan 2018 21:14:45 +0100
Subject: [PATCH] shobjidl.idl: Fix some typo's.

Signed-off-by: Mark Jansen <mark.jansen at reactos.org>
---
 dlls/shell32/ebrowser.c | 6 +++---
 include/shobjidl.idl    | 9 +++++----
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/dlls/shell32/ebrowser.c b/dlls/shell32/ebrowser.c
index 070465025f7..ba893776c14 100644
--- a/dlls/shell32/ebrowser.c
+++ b/dlls/shell32/ebrowser.c
@@ -1654,14 +1654,14 @@ static HRESULT WINAPI ICommDlgBrowser3_fnGetCurrentFilter(ICommDlgBrowser3 *ifac
     return S_OK;
 }
 
-static HRESULT WINAPI ICommDlgBrowser3_fnOnPreviewCreated(ICommDlgBrowser3 *iface,
+static HRESULT WINAPI ICommDlgBrowser3_fnOnPreViewCreated(ICommDlgBrowser3 *iface,
                                                           IShellView *pshv)
 {
     ExplorerBrowserImpl *This = impl_from_ICommDlgBrowser3(iface);
     TRACE("%p (%p)\n", This, pshv);
 
     if(This->pcdb3_site)
-        return ICommDlgBrowser3_OnPreviewCreated(This->pcdb3_site, pshv);
+        return ICommDlgBrowser3_OnPreViewCreated(This->pcdb3_site, pshv);
 
     return S_OK;
 }
@@ -1678,7 +1678,7 @@ static const ICommDlgBrowser3Vtbl vt_ICommDlgBrowser3 = {
     ICommDlgBrowser3_fnGetViewFlags,
     ICommDlgBrowser3_fnOnColumnClicked,
     ICommDlgBrowser3_fnGetCurrentFilter,
-    ICommDlgBrowser3_fnOnPreviewCreated
+    ICommDlgBrowser3_fnOnPreViewCreated
 };
 
 /**************************************************************************
diff --git a/include/shobjidl.idl b/include/shobjidl.idl
index 1e20fb3acfa..bcf50db619a 100644
--- a/include/shobjidl.idl
+++ b/include/shobjidl.idl
@@ -1489,7 +1489,7 @@ interface ICommDlgBrowser3 : ICommDlgBrowser2
         [out, string, size_is(cchFileSpec)] LPWSTR pszFileSpec,
         [in] int cchFileSpec);
 
-    HRESULT OnPreviewCreated(
+    HRESULT OnPreViewCreated(
         [in] IShellView *ppshv);
 }
 
@@ -1900,7 +1900,7 @@ interface ISearchContext : IUnknown
     HRESULT GetSearchText(
                 [in] BSTR *pbstrSearchText);
     HRESULT GetSearchStyle(
-                [in] BSTR *pdwSearchStyle);
+                [in] DWORD *pdwSearchStyle);
 }
 
 
@@ -2695,6 +2695,7 @@ interface INameSpaceTreeControlCustomDraw : IUnknown
     HRESULT ItemPrePaint(
         [in] HDC hdc,
         [in] RECT *prc,
+        [in] NSTCCUSTOMDRAW *pnstccdItem,
         [in, out] COLORREF *pclrText,
         [in, out] COLORREF *pclrTextBk,
         [out] LRESULT *plres);
@@ -3239,7 +3240,7 @@ interface IFileDialogControlEvents : IUnknown
 
     HRESULT OnCheckButtonToggled(
         [in] IFileDialogCustomize *pfdc,
-        [in] BOOL dwIDCtl,
+        [in] DWORD dwIDCtl,
         [in] BOOL bChecked);
 
     HRESULT OnControlActivating(
@@ -3557,7 +3558,7 @@ interface ITransferAdviseSink : IUnknown
     HRESULT ConfirmOverwrite([in] IShellItem *source,
                              [in] IShellItem *dest_parent,
                              [in, string] LPCWSTR name);
-    HRESULT ConfirmEncryptLoss([in] IShellItem *source);
+    HRESULT ConfirmEncryptionLoss([in] IShellItem *source);
     HRESULT FileFailure([in] IShellItem *item,
                         [in, unique, string] LPCWSTR itemname,
                         [in] HRESULT hr,
-- 
2.12.2.windows.1



More information about the wine-devel mailing list