GetEnvironmentStrings

  LPVOID GetEnvironmentStrings(VOID)    

The GetEnvironmentStrings function returns the address of the environment block for the current process.

Parameters

This function has no parameters.

Return Value

The return value is the address of the environment block for the current process.

Comments

The return value is opaque. An application can use this value to specify the environment address with the CreateProcess function, but should only access the environment variables within this block using the GetEnvironmentVariable and SetEnvironmentVariable functions.

See Also

CreateProcess, GetEnvironmentVariable, SetEnvironmentVariable