IExtensibilityApplications::LaunchEntryPoint Method

Starts the application associated with the entry point.

Note   This method has been deprecated.

Syntax

  HRESULT LaunchEntryPoint(
  GUID  AppId,
  GUID  Id,
  int  nCmdShow,
  int  Left,
  int  Top,
  int  Right,
  int  Bottom,
  IExtensibilityHostControl**  pHostControl
);

Parameters

AppId

[in]  Unique identifier of the application to start.

Id

[in]  Unique identifier of the entry point.

nCmdShow

[in]  Initial state of the window, such as SW_MAXIMIZE. Equivalent to the nCmdShow parameter of the ShowWindow function.

Left

[in]  Left coordinate of the window rectangle.

Top

[in]  Top coordinate of the window rectangle.

Right

[in]  Right coordinate of the window rectangle.

Bottom

[in]  Bottom coordinate of the window rectangle.

pHostControl

[out]  Address of a variable that receives a pointer to a host control interface. This interface can be used to control the window.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table:

Value Description
S_OK The method succeeded.
EXT_E_NO_SUCH_ENTRYPOINT The specified entry point does not exist.
EXT_E_APPLICATION_FAILED The Adaptable Media Center Service was unable to start.
EXT_E_MEDIACENTER_CANNOT_EXIT An existing instance of Windows Media Center is running and cannot exit.
EXT_E_MEDIACENTER_ALREADY_IN_HOST_MODE An existing instance of the Adaptable Media Center Service is already running.

Requirements

Assembly: Ehextcom.dll

Platform: Windows XP Media Center Edition 2005 and later

See Also