fsVarsUnregisterAllVarsStatusUpdateHandler
The fsVarsUnregisterAllVarsStatusUpdateHandler function can be used to unregister all handlers previously registered with fsVarsRegisterVarsStatusUpdateHandler.
Syntax
FsVarError fsVarsUnregisterAllVarsStatusUpdateHandler();
Parameters
N/A
Return Values
The function returns FsVarError, where 0 means there is no error (in which case the handler will be called each time the simulation needs to notify a change in the variables).
Example
extern "C" MSFS_CALLBACK void module_deinit()
{
FsVarError err = fsVarsUnregisterAllVarsStatusUpdateHandler();
if (err != FS_VAR_ERROR_NONE)
{
// Error
}
}
Related Topics