1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

dcom: fix ident in dcom.idl.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Günther Deschner 2015-07-21 20:49:22 +02:00 committed by Jeremy Allison
parent 8b5536a31b
commit 22c9f11cf2

View File

@ -28,8 +28,10 @@ interface IUnknown
/* Function 0x00 */ /* Function 0x00 */
/* Returns the interface with the specified IID /* Returns the interface with the specified IID
if implemented by this object */ if implemented by this object */
[local] WERROR QueryInterface([in,unique] GUID *iid, [local] WERROR QueryInterface(
[out,iid_is(riid)] IUnknown **data); [in,unique] GUID *iid,
[out,iid_is(riid)] IUnknown **data
);
/*****************/ /*****************/
/* Function 0x01 */ /* Function 0x01 */
@ -47,15 +49,19 @@ interface IUnknown
pointer_default(unique) pointer_default(unique)
] interface IClassFactory : IUnknown ] interface IClassFactory : IUnknown
{ {
[local] WERROR CreateInstance([in,unique] MInterfacePointer *pUnknown, [local] WERROR CreateInstance(
[in,unique] MInterfacePointer *pUnknown,
[in,unique] GUID *iid, [in,unique] GUID *iid,
[out, iid_is(riid),unique] MInterfacePointer *ppv); [out, iid_is(riid),unique] MInterfacePointer *ppv
);
[call_as(CreateInstance)] WERROR RemoteCreateInstance(); [call_as(CreateInstance)] WERROR RemoteCreateInstance();
/* Set lock to TRUE when you want to do a lock /* Set lock to TRUE when you want to do a lock
and set it to FALSE when you want to unlock */ and set it to FALSE when you want to unlock */
[local] WERROR LockServer([in] uint8 lock); [local] WERROR LockServer(
[in] uint8 lock
);
[call_as(LockServer)] WERROR RemoteLockServer(); [call_as(LockServer)] WERROR RemoteLockServer();
} }
@ -114,11 +120,13 @@ interface IRemUnknown : IUnknown
object object
] interface IClassActivator : IUnknown ] interface IClassActivator : IUnknown
{ {
void GetClassObject([in] GUID clsid, void GetClassObject(
[in] GUID clsid,
[in] uint32 context, [in] uint32 context,
[in] uint32 locale, [in] uint32 locale,
[in] GUID iid, [in] GUID iid,
[out, iid_is(iid)] MInterfacePointer *data); [out, iid_is(iid)] MInterfacePointer *data
);
} }
[ [
@ -154,11 +162,13 @@ interface IRemUnknown : IUnknown
] ]
interface ISystemActivator : IClassActivator interface ISystemActivator : IClassActivator
{ {
WERROR ISystemActivatorRemoteCreateInstance([in] hyper unknown1, /* OXID ? */ WERROR ISystemActivatorRemoteCreateInstance(
[in] hyper unknown1, /* OXID ? */
[in] MInterfacePointer iface1, [in] MInterfacePointer iface1,
[in] hyper unknown2, [in] hyper unknown2,
[out] uint32 *unknown3, [out] uint32 *unknown3,
[out] MInterfacePointer *iface2); [out] MInterfacePointer *iface2
);
} }
@ -192,7 +202,8 @@ interface IRemUnknown2 : IRemUnknown
/*****************/ /*****************/
/* Function 0x03 */ /* Function 0x03 */
WERROR GetTypeInfoCount( WERROR GetTypeInfoCount(
[out, unique] uint16 *pctinfo); [out, unique] uint16 *pctinfo
);
typedef struct { typedef struct {
} REF_ITypeInfo; } REF_ITypeInfo;
@ -202,7 +213,8 @@ interface IRemUnknown2 : IRemUnknown
WERROR GetTypeInfo ( WERROR GetTypeInfo (
[in] uint16 iTInfo, [in] uint16 iTInfo,
[in] uint32 lcid, [in] uint32 lcid,
[out, unique] REF_ITypeInfo *ppTInfo); [out, unique] REF_ITypeInfo *ppTInfo
);
/*****************/ /*****************/
/* Function 0x05 */ /* Function 0x05 */
@ -211,7 +223,8 @@ interface IRemUnknown2 : IRemUnknown
/*FIXME[in,size_is(cNames)] OLESTR *rgszNames[], */ /*FIXME[in,size_is(cNames)] OLESTR *rgszNames[], */
[in] uint16 cNames, [in] uint16 cNames,
[in] uint32 lcid, [in] uint32 lcid,
[out,size_is(cNames), unique] uint32 *rgDispId); [out,size_is(cNames), unique] uint32 *rgDispId
);
typedef struct { typedef struct {
uint16 vartype; uint16 vartype;
@ -237,7 +250,8 @@ interface IRemUnknown2 : IRemUnknown
[out,in, unique] DISPPARAMS *pDispParams, [out,in, unique] DISPPARAMS *pDispParams,
[out, unique] VARIANT *pVarResult, [out, unique] VARIANT *pVarResult,
[out, unique] EXCEPINFO *pExcepInfo, [out, unique] EXCEPINFO *pExcepInfo,
[out, unique] uint16 *puArgErr); [out, unique] uint16 *puArgErr
);
} }
[ [
@ -285,7 +299,8 @@ interface IStream : IUnknown
WERROR Write( WERROR Write(
[in,size_is(num_requested),unique] uint8 *data, [in,size_is(num_requested),unique] uint8 *data,
[in] uint32 num_requested, [in] uint32 num_requested,
[out] uint32 *num_written); [out] uint32 *num_written
);
} }
[ [