CanPreviewType method
Determines whether the Accelerator can preview the specified content type.
Syntax
HRESULT retVal = object.CanPreviewType(type, pfCanPreview);
Parameters
type [in]
Type: OpenServiceActivityContentTypeA value from the OpenServiceActivityContentType enumeration, specifying the content type.
pfCanPreview [out]
Type: BOOLTRUE if a preview is possible; otherwise, FALSE.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.