IMSVidCtl::get_FeaturesAvailable

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

Syntax

HRESULT get_FeaturesAvailable(IMSVidFeatures**ppVal);

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.