Module: wine Branch: master Commit: cc85e2410b5aa974c6094742664b5edc53070d43 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cc85e2410b5aa974c609474266...
Author: Jon Griffiths jon_p_griffiths@yahoo.com Date: Sun Jun 29 08:15:43 2008 -0700
oleaut32: Implement ICreateTypeLib2_SetHelpContext.
---
dlls/oleaut32/typelib2.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c index de8c7db..6b773dc 100644 --- a/dlls/oleaut32/typelib2.c +++ b/dlls/oleaut32/typelib2.c @@ -3192,8 +3192,11 @@ static HRESULT WINAPI ICreateTypeLib2_fnSetHelpFileName(ICreateTypeLib2 * iface, */ static HRESULT WINAPI ICreateTypeLib2_fnSetHelpContext(ICreateTypeLib2 * iface, DWORD dwHelpContext) { - FIXME("(%p,%d), stub!\n", iface, dwHelpContext); - return E_OUTOFMEMORY; + ICreateTypeLib2Impl *This = (ICreateTypeLib2Impl *)iface; + + TRACE("(%p,%d)\n", iface, dwHelpContext); + This->typelib_header.helpcontext = dwHelpContext; + return S_OK; }
/******************************************************************************