initialize_var

The initialize_var function initializes a token variable.

 

Syntax
void initialize_var(
    PMODULE_VAR  module_var
    );

 

Members
Parameters Description
module_var Specifies a pointer to a MODULE_VAR structure, containing the token variable to initialize.

Return Values

This function does not return a value.

 

Example
MODULE_VAR gs_var = {VOR1_GS_FLAG}; 
    void install_routine(HINSTANCE resource_file_handle) 
    { 
        initialize_var(&gs_var);
        'Include other initialization code. 
    } 
Remarks

Before a token variable can be used, you must initialize it with a call to this function.

 

See Also