Share via


HasDefaultActivity method

Determines whether the category has a default Accelerator.

 

Syntax

HRESULT retVal = object.HasDefaultActivity(pfHasDefaultActivity);

Parameters

  • pfHasDefaultActivity [out]
    Type: BOOL

    TRUE 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.

Remarks

See also

IOpenServiceActivityCategory::GetDefaultActivity