Environment functions alter and retrieve information about the environment associated with an output device. The following list briefly describes the two environment functions:
| Function | Description | |
| GetEnvironment | Copies environment information into a buffer. | |
| SetEnvironment | Copies data to the environment associated with an attached device. |