summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-02-21 12:13:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:10:49 -0500
commit600c49e772bea70682dc6ef9f6f961c94faed457 (patch)
treeeb01dd99f774cbad2c2b2c422b826b53df91d8c3 /source4/librpc
parent3d507012fe4dc5dc21f7c055dc6c39b117a87d34 (diff)
downloadsamba-600c49e772bea70682dc6ef9f6f961c94faed457.tar.gz
samba-600c49e772bea70682dc6ef9f6f961c94faed457.tar.bz2
samba-600c49e772bea70682dc6ef9f6f961c94faed457.zip
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)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/dcom.idl23
1 files changed, 12 insertions, 11 deletions
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 */
@@ -264,20 +264,21 @@ object,
}
[
+ 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;
}
[