oleaut32: Fix the return type of TLB_ReadTypeLib.
This commit is contained in:
parent
14ba79ec62
commit
a35dfc4510
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue