diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-11-01 21:10:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:11 -0500 |
commit | 9f14afa12c11d02a49f4f310c3f8d834ce8a835d (patch) | |
tree | 7d87a19e9ec61e31584a7d903bed974e2d73770a /source4/librpc | |
parent | 652b8b34f8b326f79771b03e039cfa3c6ba3427e (diff) | |
download | samba-9f14afa12c11d02a49f4f310c3f8d834ce8a835d.tar.gz samba-9f14afa12c11d02a49f4f310c3f8d834ce8a835d.tar.bz2 samba-9f14afa12c11d02a49f4f310c3f8d834ce8a835d.zip |
r3442: Add support for the "call_as" and "local" attributes.
(This used to be commit 8e25117103b0339441bc6328176ed34034005528)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/dcom.idl | 22 |
1 files changed, 11 insertions, 11 deletions
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, |