2004-09-28 19:20:00 +00:00
#include "idl_types.h"
/**
DCOM interfaces
http://www.grimes.demon.co.uk/DCOM/DCOMSpec.htm
*/
[
2004-10-27 04:48:41 +00:00
uuid("4d9f4ab8-7d1c-11cf-861e-0020af6e7c57"),
2004-11-01 10:30:34 +00:00
pointer_default(unique),
2004-11-04 01:25:56 +00:00
endpoint("ncalrpc:", "ncacn_ip_tcp:[135]", "ncacn_np:[\\pipe\\epmapper]"),
2004-11-01 10:30:34 +00:00
depends(dcom)
2004-09-28 19:20:00 +00:00
]
interface IRemoteActivation
{
2004-10-31 18:37:59 +00: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;
2004-11-04 01:09:43 +00:00
typedef struct {
MInterfacePointer *p;
} pMInterfacePointer;
2004-09-28 19:20:00 +00:00
const uint32 MODE_GET_CLASS_OBJECT = 0xffffffff;
2004-10-31 18:37:59 +00:00
WERROR RemoteActivation (
[in] ORPCTHIS this,
[out] ORPCTHAT that,
2004-09-28 19:20:00 +00:00
[in] GUID Clsid,
[in, unique] unistr *pwszObjectName,
[in, unique] MInterfacePointer *pObjectStorage,
[in] uint32 ClientImpLevel,
[in] uint32 Mode,
2004-11-04 01:09:43 +00:00
[in,range(1,32768)] uint32 Interfaces,
2004-09-28 19:20:00 +00:00
[in, unique,size_is(Interfaces)] GUID *pIIDs,
[in] uint16 num_protseqs,
2004-10-31 18:37:59 +00:00
[in, size_is(num_protseqs)] uint16 protseq[],
2004-09-28 22:04:35 +00:00
[out] HYPER_T pOxid,
2004-09-28 19:20:00 +00:00
[out] DUALSTRINGARRAY *pdsaOxidBindings,
2004-11-09 00:30:44 +00:00
[out] GUID ipidRemUnknown,
2004-10-31 18:37:59 +00:00
[out] uint32 AuthnHint,
[out] COMVERSION ServerVersion,
2004-11-01 12:40:43 +00:00
[out] WERROR hr,
2004-11-04 01:09:43 +00:00
[out,size_is(Interfaces),ref] pMInterfacePointer *ifaces,
2004-11-01 12:40:43 +00:00
[out,size_is(Interfaces)] WERROR results[]
2004-09-28 19:20:00 +00:00
);
}