atliface.idl: Added IRegistrarBase declaration.
This commit is contained in:
parent
699fa23bd2
commit
0c14384589
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue