qwf_Cleanup()

Shut down QWF services and deallocate all resources

Synopsis:

#include <qwf/qwf_interface.h>
void qwf_Cleanup(qwf_Context_t *pCtx)

Arguments:

pCtx
A pointer to the QWF service context created by qwf_Init() or qwf_InitializeCore()

Library:

qwf_interface

Description:

This function shuts down all QWF services and deallocates all resources belonging to the API, including the qwf_Context_t structure. The context gets destroyed and the event handlers (if any) become obsolete. After this function returns, no more service event notifications are generated.

This function must be the last QWF function that a client program calls, and must be called only once. Calling the function multiple times with the same service context leads to unexpected results. This function returns nothing.