ISurrogateService::Init method

Initializes the process server.

Syntax


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

Parameters

rguidProcessID [in]

The process ID of the server application.

pProcessLock [in]

A pointer to an instance of the IProcessLock interface.

pfApplicationAware [out]

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_ISurrogateService is defined as 000001d4-0000-0000-C000-000000000046

See also

CoGetInterceptor
ICallFrame
ICallFrameEvents
ICallInterceptor
ICallUnmarshal
ISurrogateService

 

 

Community Additions

ADD
Show:
© 2014 Microsoft