Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves an Accelerator based on its home-page URL and category.
![]() |
Syntax
var retval = OpenServiceActivityManager.GetActivityByHomepageAndCategory(pwzHomepage, pwzCategory);
Parameters
pwzHomepage [in]
Type: LPCWSTRThe complete home-page URL.
pwzCategory [in]
Type: LPCWSTRThe category or verb.
ppActivity [out]
Type: IOpenServiceActivityAn 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.