Commit 4f85ca44 authored by Francis Beaudet's avatar Francis Beaudet Committed by Alexandre Julliard

Make LoadTypeLib stub return failure instead of success.

parent 688c5658
......@@ -108,6 +108,10 @@ HRESULT WINAPI LoadTypeLib16(
void * *pptLib) /* [out] Pointer to pointer to loaded type library */
{
FIXME(ole, "('%s',%p): stub\n",debugstr_w((LPWSTR)szFile),pptLib);
if (pptLib!=0)
*pptLib=0;
return E_FAIL;
}
......@@ -127,8 +131,11 @@ HRESULT WINAPI LoadTypeLib32(
void * *pptLib) /* [out] Pointer to pointer to loaded type library */
{
FIXME(ole, "('%s',%p): stub\n",debugstr_w(szFile),pptLib);
(long *)pptLib=0x123;
return S_OK; /* fixme: pretend everything is OK*/
if (pptLib!=0)
*pptLib=0;
return E_FAIL;
}
/******************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment