initialize_var_by_name

The initialize_var_by_name function initializes a MODULE_VAR structure, given the name of a token variable.

 

Syntax
void initialize_var_by_name(
    PMODULE_VAR  module_var,
    PSTRINGZ  name
    );

 

Members
Parameters Description
module_var Specifies the address of the MODULE_VAR structure that will receive information about the variable.
name Specifies the name of the variable (the same name used in register_var_by_name).

Return Values

This function does not return a value.

 

Example
MODULE_VAR var;
initialize_var_by_name (&var, GPS_INFO_PANEL_VARIABLE_NAME);
Remarks

N/A

 

See Also