oleaut32: Fix the return type of TLB_ReadTypeLib.

This commit is contained in:
Rob Shearman 2008-03-14 18:08:57 +00:00 committed by Alexandre Julliard
parent 14ba79ec62
commit a35dfc4510
1 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ static WCHAR *get_lcid_subkey( LCID lcid, SYSKIND syskind, WCHAR *buffer )
return 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 MSFT_SIGNATURE 0x5446534D /* "MSFT" */
#define SLTG_SIGNATURE 0x47544c53 /* "SLTG" */ #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; ITypeLibImpl *entry;
HRESULT ret; HRESULT ret;