CBaseControlVideo::CBaseControlVideo

Constructs a CBaseControlVideo object.

CBaseControlVideo(
  CBaseFilter* pFilter,
  CCritSec* pInterfaceLock,
  TCHAR* pName,
  LPUNKNOWN pUnk,
  HRESULT* phr
);

Parameters

  • pFilter
    Owning media filter object.
  • pInterfaceLock
    Critical section to use for locking.
  • pName
    Object description.
  • pUnk
    Typical COM ownership.
  • phr
    COM return value.

Return Values

None.

Remarks

The object implements the IBasicVideo control interface.

All the interface methods from IBasicVideo that this class implements require that the filter be connected correctly. For this reason, the class is passed a pin with which it should synchronize with. Whenever an interface method is called, the object determines that the pin is still connected.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.