ISettingsInterface Interface Reference

#include <SettingsInterface.h>

Inheritance diagram for ISettingsInterface:

CSettingsInterface CCustomBaseFilter RtspSourceFilter CCropFilter CScaleFilter RGBtoYUV420Filter YUV420toRGBFilter

Detailed Description

COM Settings interface for RTVC DirectShow filters.

The settings interface is used to configure filters before they are connected downstream. The downstream connection finalises the media type and often, such as in the scale and crop filter, the media type is modified when configuring the filter.

Usage:

IBaseFilterPtr pScaleFilter = NULL;
...
ISettingsInterfacePtr pSettingsInterface = pScaleFilter;
char szParamValue[255];
int nLength = 0;
HRESULT hr;
hr = pSettingsInterface->GetParameter("targetwidth", 255, szParamValue, nLength);
hr = pSettingsInterface->GetParameter("targetheight", 255, szParamValue, nLength);
hr = pSettingsInterface->SetParameter("targetwidth", "800");
hr = pSettingsInterface->SetParameter("targetheight", "600");

The documentation for this interface was generated from the following file:
Generated on Fri Mar 13 14:12:39 2009 for RTVC by  doxygen 1.5.3