ZenWINX Logo ZenWINX

Architecture - Reference Manual - Guides

Environment

Functions

int __stdcall winx_query_env_variable (short *name, short *buffer, int length)
 Queries an environment variable.
int __stdcall winx_set_env_variable (short *name, short *value)
 Sets an environment variable.

Function Documentation

int __stdcall winx_query_env_variable ( short *  name,
short *  buffer,
int  length 
)

Queries an environment variable.

Parameters:
[in] name the name of environment variable.
[out] buffer pointer to the buffer to receive the null-terminated value string.
[in] length the length of the buffer, in characters.
Returns:
Zero for success, negative value otherwise.

Definition at line 38 of file env.c.

Referenced by winx_get_windows_directory().

int __stdcall winx_set_env_variable ( short *  name,
short *  value 
)

Sets an environment variable.

Parameters:
[in] name the name of the environment variable.
[in] value the null-terminated value string. Note that passing NULL here causes a variable deletion.
Returns:
Zero for success, negative value otherwise.

Definition at line 64 of file env.c.


Generated on Sat May 29 23:06:45 2010 for ZenWINX by doxygen 1.6.2