ISurrogateService::Init method (objidl.h)

Initializes the process server.

Syntax

HRESULT Init(
  [in]  REFGUID      rguidProcessID,
  [in]  IProcessLock *pProcessLock,
  [out] BOOL         *pfApplicationAware
);

Parameters

[in] rguidProcessID

The process ID of the server application.

[in] pProcessLock

A pointer to an instance of the IProcessLock interface.

[out] pfApplicationAware

Indicates whether the application is aware of the initialization.

Return value

If the method succeeds, the return value is S_OK. Otherwise, it is E_UNEXPECTED.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header objidl.h

See also

CoGetInterceptor

ICallFrame

ICallFrameEvents

ICallInterceptor

ICallUnmarshal

ISurrogateService