EPI_putSysEnv


The EPI_putSysEnv function changes the value of a Windows environment variable.


BOOL EPI_putEnv(        HMODULE hEagle,           // Eagle handle     char       *name          // Pointer to the Name of the variable     char       *value,        // Pointer to the variable value      );    

Parameters


hEagle

value of the Eagle handle, which can be obtained through the EPI_getEagleHandle function.


name

name of the variable to change.


value

this is the new value of the variable.

Return Value

If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE.

See Also

EPI_getEagleHandle