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
{
2015-07-21 23:28:32 +03:00
typedef [v1_enum] enum {
2004-10-31 21:37:59 +03:00
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;
2015-07-21 21:54:17 +03:00
2004-10-31 21:37:59 +03:00
WERROR RemoteActivation (
2015-07-21 21:54:17 +03:00
[in] ORPCTHIS this_object,
[out,ref] ORPCTHAT *that,
[in] GUID Clsid,
2015-07-21 23:37:34 +03:00
[in] [unique,string,charset(UTF16)] uint16 *pwszObjectName,
[in] [unique] MInterfacePointer *pObjectStorage,
2015-07-21 23:28:32 +03:00
[in] imp_levels ClientImpLevel,
2015-07-21 21:54:17 +03:00
[in] uint32 Mode,
[in,range(1,32768)] uint32 Interfaces,
2015-07-21 23:37:34 +03:00
[in,unique,size_is(Interfaces)] GUID *pIIDs,
2015-07-21 21:54:17 +03:00
[in] uint16 num_protseqs,
[in, size_is(num_protseqs)] uint16 protseq[*],
[out,ref] hyper *pOxid,
2015-07-21 23:37:34 +03:00
[out,ref] DUALSTRINGARRAY **pdsaOxidBindings,
2015-07-21 21:54:17 +03:00
[out,ref] GUID *ipidRemUnknown,
[out,ref] uint32 *AuthnHint,
[out,ref] COMVERSION *ServerVersion,
2015-07-21 23:23:22 +03:00
[out,ref] HRESULT *hr,
2015-07-21 23:37:34 +03:00
[out,size_is(Interfaces)] MInterfacePointer **ifaces,
2015-07-21 23:23:22 +03:00
[out,size_is(Interfaces)] HRESULT results[]
2015-07-21 21:54:17 +03:00
);
2004-09-28 23:20:00 +04:00
}