The fsVarsUnregisterAllVarsStatusUpdateHandler function can be used to unregister all handlers previously registered with fsVarsRegisterVarsStatusUpdateHandler.

Syntax
FsVarError fsVarsUnregisterAllVarsStatusUpdateHandler();
Parameters

This function has no parameters.

Return Values

The function returns FsVarError, where 0 means there is no error (in which case the handler has been unregistered).

Example
extern "C" MSFS_CALLBACK void module_deinit()
{
    FsVarError err = fsVarsUnregisterAllVarsStatusUpdateHandler();
    if (err != FS_VAR_ERROR_NONE)
    {
        // Error
    }
}

0/255