Commit f4fa417b authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

oleaut32: Partially implement RegisterTypeLibForUser.

parent 10356abd
......@@ -410,6 +410,7 @@
439 stdcall VarUI8FromUI2(long ptr)
440 stdcall VarUI8FromUI4(long ptr)
441 stdcall VarUI8FromDec(long ptr)
442 stdcall RegisterTypeLibForUser(ptr wstr wstr)
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
......
......@@ -903,6 +903,29 @@ end:
return result;
}
/******************************************************************************
* RegisterTypeLibForUser [OLEAUT32.442]
* Adds information about a type library to the user registry
* NOTES
* Docs: ITypeLib FAR * ptlib
* Docs: OLECHAR FAR* szFullPath
* Docs: OLECHAR FAR* szHelpDir
*
* RETURNS
* Success: S_OK
* Failure: Status
*/
HRESULT WINAPI RegisterTypeLibForUser(
ITypeLib * ptlib, /* [in] Pointer to the library*/
OLECHAR * szFullPath, /* [in] full Path of the library*/
OLECHAR * szHelpDir) /* [in] dir to the helpfile for the library,
may be NULL*/
{
FIXME("(%p, %s, %s) registering the typelib system-wide\n", ptlib,
debugstr_w(szFullPath), debugstr_w(szHelpDir));
return RegisterTypeLib(ptlib, szFullPath, szHelpDir);
}
/*======================= ITypeLib implementation =======================*/
typedef struct tagTLBCustData
......
......@@ -750,6 +750,7 @@ HRESULT WINAPI LoadTypeLibEx(LPCOLESTR,REGKIND,ITypeLib**);
HRESULT WINAPI QueryPathOfRegTypeLib(REFGUID,WORD,WORD,LCID,LPBSTR);
HRESULT WINAPI RegisterTypeLib(ITypeLib*,OLECHAR*,OLECHAR*);
HRESULT WINAPI UnRegisterTypeLib(REFGUID,WORD,WORD,LCID,SYSKIND);
HRESULT WINAPI RegisterTypeLibForUser(ITypeLib*,OLECHAR*,OLECHAR*);
VOID WINAPI ClearCustData(LPCUSTDATA);
......
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