initialize_var

The initialize_var function initializes a token variable. Before a token variable can be used, you must initialize it with initialize_var.

Syntax

initialize_var(PMODULE_VAR module_var)

The initialize_var syntax has these parameters:

Parameter Description
PMODULE_VAR module_var Required. Pointer to a token variable to initialize.

Example

MODULE_VAR gs_var = {VOR1_GS_FLAG};

void install_routine(HINSTANCE resource_file_handle)

{

initialize_var(&gs_var);

'Include other initialization code.

}