Share via


Environment Block

5/10/2007

The system environment block represents environmental variables for all users of the current process. The following table shows the values for the environment block.

Value Name Description

DWORD

ExpandMode

Applies to environment string array.

DWORD

Action

0 = Replace

1 = Merge

DWORD

ArraySize

Environment string array size. Specifies number of environment strings.

STRING

 

Environment strings, comma delimited.

Example

The following example shows typical use.

0,1,2,EnvVar1=EnvValue1,EnvVar2=EnvValue2

See Also

Concepts

Constants