From 9f14afa12c11d02a49f4f310c3f8d834ce8a835d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 1 Nov 2004 21:10:46 +0000 Subject: r3442: Add support for the "call_as" and "local" attributes. (This used to be commit 8e25117103b0339441bc6328176ed34034005528) --- source4/librpc/idl/dcom.idl | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/dcom.idl b/source4/librpc/idl/dcom.idl index eb470b6908..3c066acaee 100644 --- a/source4/librpc/idl/dcom.idl +++ b/source4/librpc/idl/dcom.idl @@ -278,16 +278,16 @@ interface IUnknown /* Function 0x00 */ /* Returns the interface with the specified IID if implemented by this object */ - WERROR QueryInterface([in] IID *riid + [local] WERROR QueryInterface([in] IID *riid /*FIXME, [out] void **data*/); /*****************/ /* Function 0x01 */ - uint32 AddRef(); + [local] uint32 AddRef(); /*****************/ /* Function 0x02 */ - uint32 Release(); + [local] uint32 Release(); } @@ -297,17 +297,17 @@ interface IUnknown pointer_default(unique) ] interface IClassFactory : IUnknown { - WERROR CreateInstance(/*FIXME[in] IUnknown *pUnknown, + [local] WERROR CreateInstance(/*FIXME[in] IUnknown *pUnknown, [in] IID *riid, [out, iid_is(riid)] void **ppv*/); - WERROR RemoteCreateInstance(); + [call_as(CreateInstance)] WERROR RemoteCreateInstance(); /* Set lock to TRUE when you want to do a lock and set it to FALSE when you want to unlock */ - WERROR LockServer([in] uint8 lock); + [local] WERROR LockServer([in] uint8 lock); - WERROR RemoteLockServer(); + [call_as(LockServer)] WERROR RemoteLockServer(); } /*//////////////////////////////////////////////////////////////// */ @@ -333,7 +333,7 @@ interface IRemUnknown : IUnknown } REMQIRESULT; - WERROR RemQueryInterface ( + [call_as(QueryInterface)] WERROR RemQueryInterface ( [in] IPID *ripid, /* interface to QI on */ [in] uint32 cRefs, /* count of AddRefs requested */ [in] uint16 cIids, /* count of IIDs that follow */ @@ -348,13 +348,13 @@ interface IRemUnknown : IUnknown uint32 cPrivateRefs; } REMINTERFACEREF; - WERROR RemAddRef ( + [call_as(AddRef)] WERROR RemAddRef ( [in] uint16 cInterfaceRefs, [in, size_is(cInterfaceRefs)] REMINTERFACEREF InterfaceRefs[], [out, size_is(cInterfaceRefs)] WERROR* pResults ); - WERROR RemRelease ( + [call_as(Release)] WERROR RemRelease ( [in] uint16 cInterfaceRefs, [in, size_is(cInterfaceRefs)] REMINTERFACEREF InterfaceRefs[] ); @@ -399,7 +399,7 @@ interface IRemUnknown : IUnknown interface IRemUnknown2 : IRemUnknown { - WERROR RemQueryInterface2 ( + [call_as(QueryInterface2)] WERROR RemQueryInterface2 ( [in] IPID *ripid, [in] uint16 cIids, [in, size_is(cIids)] IID *iids, -- cgit