From 600c49e772bea70682dc6ef9f6f961c94faed457 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 21 Feb 2005 12:13:42 +0000 Subject: r5486: - Use references to interfaces in coclasses rather then full interfaces. - Couple of bugfixes in odl.pm - First use of multiple pointers in dcom.idl (This used to be commit 3110c2ec44a872a53e7d6015b85c68fdb604b4de) --- source4/librpc/idl/dcom.idl | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'source4/librpc/idl/dcom.idl') diff --git a/source4/librpc/idl/dcom.idl b/source4/librpc/idl/dcom.idl index 099cb0d74d..855fbfce8f 100644 --- a/source4/librpc/idl/dcom.idl +++ b/source4/librpc/idl/dcom.idl @@ -31,7 +31,7 @@ interface IUnknown /* Returns the interface with the specified IID if implemented by this object */ [local] WERROR QueryInterface([in] GUID *iid, - [out,iid_is(riid)] MInterfacePointer *data); + [out,iid_is(riid),ref] IUnknown **data); /*****************/ /* Function 0x01 */ @@ -263,21 +263,22 @@ object, WERROR UnMarshalInterface(); } +[ + uuid(DA23F6DB-6F45-466C-9EED-0B65286F2D78), + helpstring("ICoffeeMachine Interface"), + pointer_default(unique), + object +] interface ICoffeeMachine : IUnknown +{ + [helpstring("method MakeCoffee")] WERROR MakeCoffee(BSTR *flavor); +} + [ uuid(DB7C21F8-FE33-4C11-AEA5-CEB56F076FBB), helpstring("CoffeeMachine Class") ] coclass CoffeeMachine { - [ - uuid(DA23F6DB-6F45-466C-9EED-0B65286F2D78), - helpstring("ICoffeeMachine Interface"), - pointer_default(unique) - ] - - interface ICoffeeMachine : IUnknown - { - [helpstring("method MakeCoffee")] HRESULT MakeCoffee(BSTR *flavor); - } + interface ICoffeeMachine; } [ -- cgit