Remote Activation

The Service Control Manager (SCM) is responsible for launching local and remote COM+ servers. The SCM launches remote COM+ servers using the IRemoteActivation interface. Listing 9.2 shows the definition for the IRemoteActivation interface.

Code Listing 9.2. Interface Definition of IRemoteActivation
 interface IRemoteActivation { HRESULT RemoteActivation( [in] handle_t hRpc, [in] ORPCTHIS *ORPCthis, [out] ORPCTHAT *ORPCthat, [in] GUID *Clsid, [in, string, unique] WCHAR *pwszObjectName, [in, unique] MInterfacePointer *pObjectStorage, [in] DWORD ClientImpLevel, [in] DWORD Mode, [in] DWORD Interfaces, [in,unique,size_is(Interfaces)] IID *pIIDs, [in] unsigned short cRequestedProtseqs, [in, size_is(cRequestedProtseqs)] unsigned short ...

Get COM+ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.