Parameters
lpName
The name of the environment variable.
lpBuffer
A pointer to a buffer that receives the contents of the specified environment variable as a null-terminated string. An environment variable has a maximum size limit of 32,767 characters, including the null-terminating character.
nSize
The size of the buffer pointed to by the lpBuffer parameter, in characters.