IMSVidCtl::get_FeaturesAvailable

 
Microsoft DirectShow 9.0

IMSVidCtl::get_FeaturesAvailable

This topic applies to Windows XP or later.

The get_FeaturesAvailable method retrieves the features that are available on the local system.

Syntax

  HRESULT get_FeaturesAvailable(
  
  IMSVidFeatures**
  
  pVal
  
  );

Parameters

  ppVal

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

Return Values

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

Remarks

This method returns a collection of feature objects. Use the returned IMSVidFeatures pointer to enumerate the collection. To activate a feature, add it to the active features collection. To search for a specific feature, call the IMSVidDevice::get__ClassID method on each feature and compare the result against the CLSID of the feature you are looking for.

The returned IMSVidFeatures interface has an outstanding reference count. The caller must release the interface.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also