ISurrogateService::ApplicationLaunch method (objidl.h)

Launches the application.

Syntax

HRESULT ApplicationLaunch(
  [in] REFGUID         rguidApplID,
  [in] ApplicationType appType
);

Parameters

[in] rguidApplID

The application identifier.

[in] appType

The application type, as described in Remarks.

Return value

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

Remarks

The application type is defined by the following enum.

typedef enum tagApplicationType { 
    ServerApplication, 
    LibraryApplication 
} ApplicationType;

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