CanExecuteType method

Determines whether the Accelerator can act on the specified content type.

Internet Explorer 8

 

Syntax


HRESULT retVal = object.CanExecuteType(type, pfCanExecute);

Parameters

type [in]

Type: OpenServiceActivityContentType

A value from the OpenServiceActivityContentType enumeration, specifying a content type.

pfCanExecute [out]

Type: BOOL

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

See also

IOpenServiceActivity::CanExecute

 

 

Show: