diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-05-21 12:58:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:18 -0500 |
commit | 9727b061f330ba8f500a29bf4b94992e2bceffbc (patch) | |
tree | ecc3bcd73ce3efe84c78d62f763d4eb4dd944c85 /source4/librpc/idl/dcom.idl | |
parent | 39fd6db42b4186f573ab4728509d6b8a7c8a6973 (diff) | |
download | samba-9727b061f330ba8f500a29bf4b94992e2bceffbc.tar.gz samba-9727b061f330ba8f500a29bf4b94992e2bceffbc.tar.bz2 samba-9727b061f330ba8f500a29bf4b94992e2bceffbc.zip |
r15776: Don't generate ref pointers in Samba4-generated code. There is no point
in having pointers for outgoing data when you can already modify the top-level
element.
This can be overridden (temporarily) by specifying the new "keepref"
attribute. Once we've removed keepref from all IDL files, I'll remove this
attribute as well.
(This used to be commit bdc6dd37503ced8322a671d225122ccffbb8bfec)
Diffstat (limited to 'source4/librpc/idl/dcom.idl')
-rw-r--r-- | source4/librpc/idl/dcom.idl | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/source4/librpc/idl/dcom.idl b/source4/librpc/idl/dcom.idl index ce10c98c0a..2a2b9ad8b1 100644 --- a/source4/librpc/idl/dcom.idl +++ b/source4/librpc/idl/dcom.idl @@ -18,7 +18,8 @@ object, uuid("00000000-0000-0000-C000-000000000046"), pointer_default(unique), - helpstring("Base interface for all COM interfaces") + helpstring("Base interface for all COM interfaces"), + keepref ] interface IUnknown { @@ -42,7 +43,8 @@ interface IUnknown [ object, uuid("00000001-0000-0000-C000-000000000046"), - pointer_default(unique) + pointer_default(unique), + keepref ] interface IClassFactory : IUnknown { [local] WERROR CreateInstance([in,unique] MInterfacePointer *pUnknown, @@ -69,7 +71,8 @@ interface IUnknown uuid("00000131-0000-0000-C000-000000000046"), object, pointer_default(unique), - helpstring("Remote version of IUnknown") + helpstring("Remote version of IUnknown"), + keepref ] interface IRemUnknown : IUnknown { @@ -169,7 +172,8 @@ interface IRemUnknown : IUnknown [ object, pointer_default(unique), - uuid("00000143-0000-0000-C000-000000000046") + uuid("00000143-0000-0000-C000-000000000046"), + keepref ] interface IRemUnknown2 : IRemUnknown @@ -186,8 +190,9 @@ interface IRemUnknown2 : IRemUnknown [ object, pointer_default(unique), - uuid("00020400-0000-0000-C000-000000000046") - ] interface IDispatch : IUnknown + uuid("00020400-0000-0000-C000-000000000046"), + keepref +] interface IDispatch : IUnknown { /*****************/ /* Function 0x03 */ @@ -254,7 +259,8 @@ interface IRemUnknown2 : IRemUnknown uuid(DA23F6DB-6F45-466C-9EED-0B65286F2D78), helpstring("ICoffeeMachine Interface"), pointer_default(unique), - object + object, + keepref ] interface ICoffeeMachine : IUnknown { WERROR MakeCoffee([in,string,charset(UTF16)] uint16 *flavor); @@ -272,7 +278,8 @@ interface IRemUnknown2 : IRemUnknown object, pointer_default(unique), uuid("0000000C-0000-0000-C000-000000000046"), - helpstring("Stream") + helpstring("Stream"), + keepref ] interface IStream : IUnknown { |