共用方式為


IMSVidCtl::put_InputActive

 
Microsoft DirectShow 9.0

IMSVidCtl::put_InputActive

This topic applies to Windows XP or later.

The put_InputActive method specifies the input device to use in the filter graph.

Syntax

  HRESULT put_InputActive(
  
  IMSVidInputDevice*
  
  pVal
  
  );

Parameters

  pVal

[in]  Specifies a pointer to the input device's IMSVidInputDevice interface.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

If the Video Control's state is not STATE_UNBUILT, call the IMSVidCtl::Decompose to tear down the filter graph before calling this method.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also