Q3ControllerState_SaveAndReset
You can use theQ3ControllerState_SaveAndResetfunction to save the current state of a controller.
TQ3Status Q3ControllerState_SaveAndReset ( TQ3ControllerStateObject controllerStateObject);
controllerStateObject- A controller state object.
DESCRIPTION
TheQ3ControllerState_SaveAndResetfunction saves the current state of the controller that is associated with the controller state object specified by thecontrollerStateObjectparameter.Q3ControllerState_SaveAndResetalso resets those channels to their inactive states. You should callQ3ControllerState_SaveAndResetto save a controller's channels when your application becomes inactive.