Partager via


GetActivityByHomepageAndCategory method

Retrieves an Accelerator based on its home-page URL and category.

 

Syntax

var retval = OpenServiceActivityManager.GetActivityByHomepageAndCategory(pwzHomepage, pwzCategory);

Parameters

  • pwzHomepage [in]
    Type: LPCWSTR

    The complete home-page URL.

  • pwzCategory [in]
    Type: LPCWSTR

    The category or verb.

  • ppActivity [out]
    Type: IOpenServiceActivity

    An IOpenServiceActivity interface that contains the retrieved Accelerator.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

See also

OpenServiceActivityManager

IOpenServiceActivityManager::GetActivityByID