atliface.idl: Added IRegistrarBase declaration.

This commit is contained in:
Jacek Caban 2012-09-21 13:45:55 +02:00 committed by Alexandre Julliard
parent 699fa23bd2
commit 0c14384589
2 changed files with 14 additions and 4 deletions

View File

@ -543,7 +543,9 @@ static HRESULT WINAPI Registrar_QueryInterface(IRegistrar *iface, REFIID riid, v
{ {
TRACE("(%p)->(%s %p\n", iface, debugstr_guid(riid), ppvObject); TRACE("(%p)->(%s %p\n", iface, debugstr_guid(riid), ppvObject);
if(IsEqualGUID(&IID_IUnknown, riid) || IsEqualGUID(&IID_IRegistrar, riid)) { if(IsEqualGUID(&IID_IUnknown, riid)
|| IsEqualGUID(&IID_IRegistrar, riid)
|| IsEqualGUID(&IID_IRegistrarBase, riid)) {
IRegistrar_AddRef(iface); IRegistrar_AddRef(iface);
*ppvObject = iface; *ppvObject = iface;
return S_OK; return S_OK;

View File

@ -24,17 +24,25 @@ cpp_quote("#endif")
[ [
object, object,
oleautomation, uuid(e21f8a85-b05d-4243-8183-c7cb405588f7),
uuid(44EC053B-400F-11D0-9DCD-00A0C90391D3) pointer_default(unique)
] ]
interface IRegistrar : IUnknown interface IRegistrarBase : IUnknown
{ {
HRESULT AddReplacement( HRESULT AddReplacement(
[in] LPCOLESTR Key, [in] LPCOLESTR Key,
[in] LPCOLESTR item); [in] LPCOLESTR item);
HRESULT ClearReplacements(); HRESULT ClearReplacements();
}
[
object,
uuid(44EC053B-400F-11D0-9DCD-00A0C90391D3),
pointer_default(unique)
]
interface IRegistrar : IRegistrarBase
{
HRESULT ResourceRegisterSz( HRESULT ResourceRegisterSz(
[in] LPCOLESTR resFileName, [in] LPCOLESTR resFileName,
[in] LPCOLESTR szID, [in] LPCOLESTR szID,