Commit 0c143845 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

atliface.idl: Added IRegistrarBase declaration.

parent 699fa23b
......@@ -543,7 +543,9 @@ static HRESULT WINAPI Registrar_QueryInterface(IRegistrar *iface, REFIID riid, v
{
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);
*ppvObject = iface;
return S_OK;
......
......@@ -24,17 +24,25 @@ cpp_quote("#endif")
[
object,
oleautomation,
uuid(44EC053B-400F-11D0-9DCD-00A0C90391D3)
uuid(e21f8a85-b05d-4243-8183-c7cb405588f7),
pointer_default(unique)
]
interface IRegistrar : IUnknown
interface IRegistrarBase : IUnknown
{
HRESULT AddReplacement(
[in] LPCOLESTR Key,
[in] LPCOLESTR item);
HRESULT ClearReplacements();
}
[
object,
uuid(44EC053B-400F-11D0-9DCD-00A0C90391D3),
pointer_default(unique)
]
interface IRegistrar : IRegistrarBase
{
HRESULT ResourceRegisterSz(
[in] LPCOLESTR resFileName,
[in] LPCOLESTR szID,
......
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