From cc85e2410b5aa974c6094742664b5edc53070d43 Mon Sep 17 00:00:00 2001 From: Jon Griffiths Date: Sun, 29 Jun 2008 08:15:43 -0700 Subject: [PATCH] oleaut32: Implement ICreateTypeLib2_SetHelpContext. --- dlls/oleaut32/typelib2.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c index de8c7db44e3..6b773dceadf 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; } /****************************************************************************** -- 2.11.4.GIT