Wednesday, September 28, 2011



LPTSTR WINAPI GetCommandLine(void);


This function has no parameters.

Return value

The return value is a pointer to the command-line string for the current process.

_putenv_s, _wputenv_s 

Visual Studio 2005

Create, modify, or remove environment variables. These are versions of _putenv, _wputenv with security enhancements as described in Security Enhancements in the CRT.
The _putenv_s function adds new environment variables or modifies the values of existing environment variables. Environment variables define the environment in which a process executes (for example, the default search path for libraries to be linked with a program). _wputenv_s is a wide-character version of _putenv_s; the envstring argument to _wputenv_s is a wide-character string.

No comments:

Post a Comment