共用方式為


IMSVidInputDevice::IsViewable

 
Microsoft DirectShow 9.0

IMSVidInputDevice::IsViewable

This topic applies to Windows XP or later.

The IsViewable method determines whether this device can view the specified tune request.

Currently this method is not implemented by any of the supported input devices.

Syntax

  HRESULT IsViewable(
  
  VARIANT*
  
  v
  ,
  
  VARIANT_BOOL*
  
  pfViewable
  
  );

Parameters

  pv

[in]  Specifies the tune request as a VARIANT type.

  pfViewable

[out]  Pointer to variable that receives one of the following values.

Value Description
VARIANT_TRUE The device can view this tune request.
VARIANT_FALSE The device cannot view this tune request.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_NOTIMPL Not implemented.
E_POINTER NULL pointer argument.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also