Win32 provides functions for Windows applications to get command line parameters and get and set environment variables.
These functions include:
| Function | Description |
| GetCommandLine | Returns the application command line parameters |
| GetDOSEnvironment | Retrieves the environment string of the currently running task |
| GetEnvironmentStrings | Returns the address of the environment block for the current process |
| GetEnvironmentVariable | Returns the value of the specified environment variable |
| GetStartupInfo | Returns the startup information for the current process |
| GetVersion | Returns the current version number of Windows |
| SetEnvironmentVariable | Sets an environment variable for the current process. |