Lines Matching refs:feature

48 #include "feature.h"

128 * @brief Registers a feature.
130 * You need to call this function in the startup entry of each feature. \n
133 * @param feature Indicates the feature to be registered.
139 BOOL (*RegisterFeature)(const char *serviceName, Feature *feature);
142 * @brief Unregisters a feature.
144 * You need to call this function when the feature is no longer required. \n
146 * @param serviceName Indicates the name of the service whose feature will be unregistered.
147 * @param featureName Indicates the name of the feature to be unregistered.
148 * @attention Before unregistering the feature, you must unregister its functions. Otherwise,
150 * @return Returns the unregistered feature object if the unregistration is successful.
158 * @brief Registers the API for the default feature of a service.
164 * @param service Indicates the name of the service whose default feature's API will be
175 * @brief Unregisters the API from the default feature of a service.
178 * the default feature belongs is no longer required. \n
180 * @param service Indicates the name of the service whose default feature's API will be
190 * @brief Registers the API for a feature.
192 * You can call this function only if the feature has been registered. \n
197 * @param feature Indicates the name of the feature whose API will be registered.
204 BOOL (*RegisterFeatureApi)(const char *service, const char *feature, IUnknown *publicApi);
207 * @brief Unregisters the API from a feature.
209 * You must call this function before unregistering the feature no longer required. \n
212 * @param feature Indicates the name of the feature whose API will be unregistered.
218 IUnknown *(*UnregisterFeatureApi)(const char *service, const char *feature);
221 * @brief Obtains the API specific to the default feature.
226 * @param service Indicates the name of the service to which the default feature belongs.
237 * @brief Obtains the API specific to the feature.
242 * @param service Indicates the name of the service to which the feature belongs.
243 * @param feature Indicates the name of the feature whose API will be obtained.
249 IUnknown *(*GetFeatureApi)(const char *serviceName, const char *feature);