The CreateEnvironmentBlock function retrieves a block of memory that represents the process environment variables. If the environment block contains environment variables defined in the registry as the REG_EXPAND_SZ type that also contain other REG_EXPAND_SZ environment variables, then these variables may not be fully expanded. For example, if %TEMP% is part of the value of the Path environment variable, it is possible that %TEMP% may not be expanded in the environment block returned by CreateEnvironmentBlock.
This issue does not negatively impact the functioning of Windows in any way. Some applications may not be written to expect this situation and this could result in errors, however.
This issue does not negatively impact the functioning of Windows in any way. Some applications may not be written to expect this situation and this could result in errors, however.