Using Exported Functions

The functions described in the following table must be included in your gauge DLL. These functions define the interface used by the Panel system to control the gauge. These functions are described in detail in the topics included in Exported Functions section of the Panels SDK.

Function type and name Description
INSTALL_ROUTINE
install_routine Called when the gauge is loaded.
INITIALIZE_ROUTINE
initialize_routine Called to initialize the gauge.
UPDATE_ROUTINE
update_routine Called when it is time to update the variables that refer to the gauge's drawing elements.
GENERATE_ROUTINE
generate_routine Called to re-initialize the gauge (for example, when the panel is resized).
DRAW_ROUTINE
draw_routine Called to draw the gauge to the panel window.
KILL_ROUTINE
kill_routine Called when the gauge is unloaded to free any memory used by the gauge.