Querying a Feature Set Statically Using CFeatureDiscovery

How to query a feature set using CFeatureDiscovery statically.

To query whether a feature is supported in a feature set using CFeatureDiscovery statically, take the following steps.


  1. Decide the set of features you want to query and determine their Uids.

  2. Create an instance of TFeatureSet and add features to it.

  3. Call CFeatureDiscovery::FeaturesSupportedL() with the feature set as argument. You do not need to create an instance of CFeatureDiscovery.