Export (0) Print
Expand All

IOpenServiceActivityManager::GetActivityByHomepageAndCategory Method

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

Syntax


HRESULT GetActivityByHomepageAndCategory(
    LPCWSTR pwzHomepage,
    LPCWSTR pwzCategory,
    IOpenServiceActivity **ppActivity
);

Parameters

pwzHomepage
[in]  The complete home-page URL.
pwzCategory
[in]  The category or verb.
ppActivity
[out]  An IOpenServiceActivity interface that contains the retrieved Accelerator.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IOpenServiceActivityManager::GetActivityByID

Community Additions

ADD
Show:
© 2014 Microsoft