CanExecuteType method
Determines whether the Accelerator can act on the specified content type.
Syntax
HRESULT retVal = object.CanExecuteType(type, pfCanExecute);
Parameters
type [in]
Type: OpenServiceActivityContentTypeA value from the OpenServiceActivityContentType enumeration, specifying a content type.
pfCanExecute [out]
Type: BOOLTRUE if IOpenServiceActivity::Execute would be successful; otherwise, FALSE.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.