Rob Shearman : oleaut32: Fix the return type of TLB_ReadTypeLib.
Alexandre Julliard
julliard at winehq.org
Sat Mar 15 05:53:47 CDT 2008
Module: wine
Branch: master
Commit: a35dfc451058bacf433a570c7e7e857157f150dd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a35dfc451058bacf433a570c7e7e857157f150dd
Author: Rob Shearman <rob at codeweavers.com>
Date: Fri Mar 14 18:08:57 2008 +0000
oleaut32: Fix the return type of TLB_ReadTypeLib.
---
dlls/oleaut32/typelib.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 70f8a0d..59b4d96 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -237,7 +237,7 @@ static WCHAR *get_lcid_subkey( LCID lcid, SYSKIND syskind, WCHAR *buffer )
return buffer;
}
-static int TLB_ReadTypeLib(LPCWSTR pszFileName, LPWSTR pszPath, UINT cchPath, ITypeLib2 **ppTypeLib);
+static HRESULT TLB_ReadTypeLib(LPCWSTR pszFileName, LPWSTR pszPath, UINT cchPath, ITypeLib2 **ppTypeLib);
/****************************************************************************
@@ -2407,7 +2407,7 @@ static HRESULT TLB_Mapping_Open(LPCWSTR path, LPVOID *ppBase, DWORD *pdwTLBLengt
*/
#define MSFT_SIGNATURE 0x5446534D /* "MSFT" */
#define SLTG_SIGNATURE 0x47544c53 /* "SLTG" */
-static int TLB_ReadTypeLib(LPCWSTR pszFileName, LPWSTR pszPath, UINT cchPath, ITypeLib2 **ppTypeLib)
+static HRESULT TLB_ReadTypeLib(LPCWSTR pszFileName, LPWSTR pszPath, UINT cchPath, ITypeLib2 **ppTypeLib)
{
ITypeLibImpl *entry;
HRESULT ret;
More information about the wine-cvs
mailing list