summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-16 17:42:23 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-16 17:42:23 +0100
commit327218f1cfa604058e3a11a64d72b930efc126d2 (patch)
tree099c87326f53e7c957f3f7ee81354e020b599c27
parent5bf0c0bf9c561d49a9311ad202228ca47822feaa (diff)
downloadsamba-327218f1cfa604058e3a11a64d72b930efc126d2.tar.gz
samba-327218f1cfa604058e3a11a64d72b930efc126d2.tar.bz2
samba-327218f1cfa604058e3a11a64d72b930efc126d2.zip
Fix [out] pointers in DCOM-related IDL files.
-rw-r--r--librpc/idl/dcom.idl13
-rw-r--r--librpc/idl/oxidresolver.idl4
2 files changed, 8 insertions, 9 deletions
diff --git a/librpc/idl/dcom.idl b/librpc/idl/dcom.idl
index 977c7ed86a..18d0d61c41 100644
--- a/librpc/idl/dcom.idl
+++ b/librpc/idl/dcom.idl
@@ -111,7 +111,6 @@ interface IRemUnknown : IUnknown
[
uuid("00000140-0000-0000-c000-000000000046"),
- pointer_default(unique),
object
] interface IClassActivator : IUnknown
{
@@ -119,7 +118,7 @@ interface IRemUnknown : IUnknown
[in] uint32 context,
[in] uint32 locale,
[in] GUID iid,
- [out, iid_is(iid)] MInterfacePointer data);
+ [out, iid_is(iid)] MInterfacePointer *data);
}
[
@@ -151,7 +150,6 @@ interface IRemUnknown : IUnknown
System.Activator class */
[
uuid("000001a0-0000-0000-c000-000000000046"),
- pointer_default(unique),
object
]
interface ISystemActivator : IClassActivator
@@ -159,8 +157,8 @@ interface IRemUnknown : IUnknown
WERROR ISystemActivatorRemoteCreateInstance([in] hyper unknown1, /* OXID ? */
[in] MInterfacePointer iface1,
[in] hyper unknown2,
- [out] uint32 unknown3,
- [out] MInterfacePointer iface2);
+ [out] uint32 *unknown3,
+ [out] MInterfacePointer *iface2);
}
@@ -272,7 +270,6 @@ interface IRemUnknown2 : IRemUnknown
[
object,
- pointer_default(unique),
uuid("0000000C-0000-0000-C000-000000000046"),
helpstring("Stream")
]
@@ -282,13 +279,13 @@ interface IStream : IUnknown
[out, size_is(num_requested), length_is(num_read)] uint8 pv[],
[in] uint32 num_requested,
[in, unique] uint32 *num_readx,
- [out] uint32 num_read
+ [out] uint32 *num_read
);
WERROR Write(
[in,size_is(num_requested),unique] uint8 *data,
[in] uint32 num_requested,
- [out] uint32 num_written);
+ [out] uint32 *num_written);
}
[
diff --git a/librpc/idl/oxidresolver.idl b/librpc/idl/oxidresolver.idl
index 95c8a1c5f0..67cb4301c0 100644
--- a/librpc/idl/oxidresolver.idl
+++ b/librpc/idl/oxidresolver.idl
@@ -90,5 +90,7 @@ interface IOXIDResolver
[idempotent] WERROR ServerAlive2 (
[out,ref] COMINFO *info,
[out,ref] DUALSTRINGARRAY *dualstring,
- [out] uint8 unknown2[3]);
+ [out,ref] uint8 *unknown2,
+ [out,ref] uint8 *unknown3,
+ [out,ref] uint8 *unknown4);
}