Share via


GetActivityByID method

Retrieves the Accelerator having the specified ID.

 

Syntax

var retval = OpenServiceActivityManager.GetActivityByID(pwzActivityID);

Parameters

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
OS_E_NOTFOUND

The Accelerator was not found.

 

See also

OpenServiceActivityManager

Reference

IOpenServiceActivityManager::GetActivityByHomepageAndCategory

OpenServiceErrors