GetDefaultActivity method
Retrieves the default Accelerator for the category.
Syntax
HRESULT retVal = object.GetDefaultActivity(ppDefaultActivity);
Parameters
ppDefaultActivity [out]
Type: IOpenServiceActivityAn IOpenServiceActivity interface that contains the retrieved Accelerator.
Return value
Type: HRESULT
This method can return one of these values.
Return code | Description |
---|---|
OS_E_NOTFOUND | No default Accelerator is defined. |
See also
Reference
IOpenServiceActivityCategory::HasDefaultActivity