HasDefaultActivity method
Determines whether the category has a default Accelerator.
Syntax
HRESULT retVal = object.HasDefaultActivity(pfHasDefaultActivity);
Parameters
pfHasDefaultActivity [out]
Type: BOOLTRUE if the category has a default Accelerator; otherwise, FALSE.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.