共用方式為


IMSVidCtl::get_InputActive

 
Microsoft DirectShow 9.0

IMSVidCtl::get_InputActive

This topic applies to Windows XP or later.

The get_InputActive method retrieves the input device that is currently active.

Syntax

  HRESULT get_InputActive(
  
  IMSVidInputDevice**
  
  pVal
  
  );

Parameters

  pVal

[out]  Address of a variable that receives an IMSVidInputDevice interface pointer.

Return Values

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

Remarks

If the method succeeds, the returned IMSVidInputDevice interface has an outstanding reference count. The caller must release the interface.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also