IMSVidCtl::get_FeaturesActive method (msvidctl.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
The get_FeaturesActive method retrieves the features that are currently active.
Syntax
HRESULT get_FeaturesActive(
[out] IMSVidFeatures **pVal
);
Parameters
[out] pVal
Receives an IMSVidFeatures interface pointer. The caller must release the interface.
Return value
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
If no features are active, the method might return NULL in the pVal parameter. Otherwise, it returns a collection of feature objects. Use the returned IMSVidFeatures pointer to enumerate the collection.
Examples
CComPtr<IMSVidFeatures> pFeatures;
hr = m_pVideoControl->get_FeaturesActive(&pFeatures);
if (SUCCEEDED(hr) && pFeatures)
{
long c;
pFs->get_Count(&c);
/* Enumerate the features */
}
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows�XP [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | msvidctl.h |