Fix [out] pointers in DCOM-related IDL files.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 16 Dec 2008 16:42:23 +0000 (17:42 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 16 Dec 2008 16:42:23 +0000 (17:42 +0100)
librpc/idl/dcom.idl
librpc/idl/oxidresolver.idl

index 977c7ed86ac01a62d6e358ac1225cb07f5a18712..18d0d61c4135c517e7ab79b79bd856ec05e6bc09 100644 (file)
@@ -111,7 +111,6 @@ interface IRemUnknown : IUnknown
 
 [
        uuid("00000140-0000-0000-c000-000000000046"),
 
 [
        uuid("00000140-0000-0000-c000-000000000046"),
-       pointer_default(unique),
        object
 ] interface IClassActivator : IUnknown
 {
        object
 ] interface IClassActivator : IUnknown
 {
@@ -119,7 +118,7 @@ interface IRemUnknown : IUnknown
                                [in] uint32 context,
                                                [in] uint32 locale,
                                                [in] GUID iid,
                                [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"),
    System.Activator class */
 [
        uuid("000001a0-0000-0000-c000-000000000046"),
-       pointer_default(unique),
        object
 ]
        interface ISystemActivator : IClassActivator
        object
 ]
        interface ISystemActivator : IClassActivator
@@ -159,8 +157,8 @@ interface IRemUnknown : IUnknown
        WERROR ISystemActivatorRemoteCreateInstance([in] hyper unknown1,  /* OXID ? */
                                                                                          [in] MInterfacePointer iface1,
                                                                                          [in] hyper unknown2,
        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,
 
 [
        object,
-       pointer_default(unique),
        uuid("0000000C-0000-0000-C000-000000000046"),
        helpstring("Stream")
 ]
        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, 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,
                                );
 
        WERROR Write(
                                [in,size_is(num_requested),unique] uint8 *data,
                                 [in] uint32 num_requested,
-                                [out] uint32 num_written);
+                                [out] uint32 *num_written);
 }
 
 [
 }
 
 [
index 95c8a1c5f08ddbbf3469b4715240ac92382b4490..67cb4301c0e5419f5c496660ab276dc9e1c5b9ba 100644 (file)
@@ -90,5 +90,7 @@ interface IOXIDResolver
        [idempotent] WERROR ServerAlive2 (
          [out,ref] COMINFO *info,
          [out,ref] DUALSTRINGARRAY *dualstring,
        [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);
 }
 }