2004-09-28 23:20:00 +04:00
/**
DCOM interfaces
http://www.grimes.demon.co.uk/DCOM/DCOMSpec.htm
*/
2008-04-02 06:53:27 +04:00
import "misc.idl", "orpc.idl";
2006-11-07 01:54:49 +03:00
2004-09-28 23:20:00 +04:00
[
2004-10-27 08:48:41 +04:00
uuid("4d9f4ab8-7d1c-11cf-861e-0020af6e7c57"),
2004-11-01 13:30:34 +03:00
pointer_default(unique),
2006-11-07 01:54:49 +03:00
endpoint("ncalrpc:", "ncacn_ip_tcp:[135]", "ncacn_np:[\\pipe\\epmapper]")
2004-09-28 23:20:00 +04:00
]
interface IRemoteActivation
{
2004-10-31 21:37:59 +03:00
typedef enum
{
RPC_C_IMP_LEVEL_DEFAULT = 0,
RPC_C_IMP_LEVEL_ANONYMOUS = 1,
RPC_C_IMP_LEVEL_IDENTIFY = 2,
RPC_C_IMP_LEVEL_IMPERSONATE = 3,
RPC_C_IMP_LEVEL_DELEGATE = 4
} imp_levels;
2005-03-07 05:14:38 +03:00
2004-09-28 23:20:00 +04:00
const uint32 MODE_GET_CLASS_OBJECT = 0xffffffff;
2004-10-31 21:37:59 +03:00
WERROR RemoteActivation (
2008-12-16 20:56:21 +03:00
[in] ORPCTHIS this_object,
2006-09-19 01:52:00 +04:00
[out,ref] ORPCTHAT *that,
2004-09-28 23:20:00 +04:00
[in] GUID Clsid,
2005-10-16 22:54:31 +04:00
[in] [string,charset(UTF16)] uint16 *pwszObjectName,
2005-03-05 21:34:18 +03:00
[in] MInterfacePointer *pObjectStorage,
2004-09-28 23:20:00 +04:00
[in] uint32 ClientImpLevel,
[in] uint32 Mode,
2004-11-04 04:09:43 +03:00
[in,range(1,32768)] uint32 Interfaces,
2005-05-27 19:49:15 +04:00
[in,size_is(Interfaces)] GUID *pIIDs,
2004-09-28 23:20:00 +04:00
[in] uint16 num_protseqs,
2005-03-06 18:57:08 +03:00
[in, size_is(num_protseqs)] uint16 protseq[*],
2006-09-19 01:52:00 +04:00
[out,ref] hyper *pOxid,
[out,ref] DUALSTRINGARRAY *pdsaOxidBindings,
[out,ref] GUID *ipidRemUnknown,
[out,ref] uint32 *AuthnHint,
[out,ref] COMVERSION *ServerVersion,
[out,ref] WERROR *hr,
2005-07-19 03:58:59 +04:00
[out,size_is(Interfaces)] MInterfacePointer *ifaces[],
2004-11-01 15:40:43 +03:00
[out,size_is(Interfaces)] WERROR results[]
2004-09-28 23:20:00 +04:00
);
}