oleaut32: Partially implement UnRegisterTypeLibForUser.

This commit is contained in:
Andrew Nguyen 2010-07-30 07:44:05 -05:00 committed by Alexandre Julliard
parent f4fa417be9
commit f2610a6109
3 changed files with 22 additions and 0 deletions

View File

@ -411,6 +411,7 @@
440 stdcall VarUI8FromUI4(long ptr)
441 stdcall VarUI8FromDec(long ptr)
442 stdcall RegisterTypeLibForUser(ptr wstr wstr)
443 stdcall UnRegisterTypeLibForUser(ptr long long long long)
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)

View File

@ -926,6 +926,26 @@ HRESULT WINAPI RegisterTypeLibForUser(
return RegisterTypeLib(ptlib, szFullPath, szHelpDir);
}
/******************************************************************************
* UnRegisterTypeLibForUser [OLEAUT32.443]
* Removes information about a type library from the user registry
*
* RETURNS
* Success: S_OK
* Failure: Status
*/
HRESULT WINAPI UnRegisterTypeLibForUser(
REFGUID libid, /* [in] GUID of the library */
WORD wVerMajor, /* [in] major version */
WORD wVerMinor, /* [in] minor version */
LCID lcid, /* [in] locale id */
SYSKIND syskind)
{
FIXME("(%s, %u, %u, %u, %u) unregistering the typelib system-wide\n",
debugstr_guid(libid), wVerMajor, wVerMinor, lcid, syskind);
return UnRegisterTypeLib(libid, wVerMajor, wVerMinor, lcid, syskind);
}
/*======================= ITypeLib implementation =======================*/
typedef struct tagTLBCustData

View File

@ -751,6 +751,7 @@ 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*);
HRESULT WINAPI UnRegisterTypeLibForUser(REFGUID,WORD,WORD,LCID,SYSKIND);
VOID WINAPI ClearCustData(LPCUSTDATA);