Export (0) Print
Expand All

IOpenServiceActivityManager::GetActivityByID Method

Retrieves the Accelerator having the specified ID.

Syntax


HRESULT GetActivityByID(
    LPCWSTR pwzActivityID,
    IOpenServiceActivity **ppActivity
);

Parameters

pwzActivityID
[in]  The Accelerator ID. See IOpenServiceManager::GetServiceByID for possible values.
ppActivity
[out]  An IOpenServiceActivity interface that contains the retrieved Accelerator.

Return Value

Returns one of the following values.

S_OK The operation completed successfully.
OS_E_NOTFOUND The Accelerator was not found.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft