184.108.40.206.3 Environment Name Parameters
pEnvironment: This parameter MUST either be NULL or a pointer to a string that MUST specify the environment name. For rules governing environment names and Windows behaviors, see section 220.127.116.11.
The individual method sections include the following parameter validation steps by reference:
If pEnvironment is NULL, use the local environment of the print server.
If pEnvironment is a non-NULL pointer, verify that the string that is referenced by the pEnvironment parameter identifies an environment name that is supported on this server, and if that verification fails, return ERROR_INVALID_ENVIRONMENT.