fsVarsGetEnvironmentVarId

NOTE: Deprecated. Use fsVarsGetEVarId instead.

The fsVarsGetEnvironmentVarId function can be used to get the FsEnvVarId of a specific EVar.

 

Syntax
FsEnvVarId fsVarsGetEnvironmentVarId(
    const char* eVarName
);

 

Parameters
Parameters Description
eVarName

The name of the EVar.

 

Return Values

The function returns the ID associated to the given name. If an error occurred, the function will return FS_VAR_EVAR_NONE.

 

Example
FsEnvVarId eVarId = fsVarsGetEnvironmentVarId("ZULU TIME");