qwf_CleanupServices()

Updated: May 06, 2022

Deallocate the resources for the specified QWF services

Synopsis:

#include <qwf/qwf_interface.h>
void qwf_CleanupServices(qwf_Context_t *pCtx,
                         qwf_Service_e servicesMask)

Arguments:

pCtx
A pointer to the QWF service context created by qwf_Init() or qwf_InitializeCore()
servicesMask
A bitfield of flags indicating the services to be cleaned up

Library:

qwf_interface

Description:

This function cleans up the specified QWF services by deallocating the resources belonging to them. The QWF core context remains intact but the interfaces to the specified services are removed. No more event notifications are generated for these services.

This function needs to be called only once for a given service but can be called multiple times to clean up different services. To remove the QWF core context and all service resources, qwf_Cleanup() must be used.