Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Launches the specified widget. A prompt is presented to the user during this operation.

Syntax

HRESULT LaunchWidget(
	UINT 
nInstalledId
);

Parameters

nInstalledId

[in] An integer specifying the identifier of the widget to be launched. The identifier is device-specific and is assigned to the widget during installation. The identifier for all widgets installed on a device can be retrieved using the GetInstalledWidgetsListfunction.

Return Value

This function can return one of the following values.

Value Description

S_OK

The widget was successfully launched.

E_FAIL

The widget was not launched.

E_INVALIDARG

The widget detail data was not valid.

Remarks

None.

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.