2.5.4 EnvironmentVariableDataBlock

The EnvironmentVariableDataBlock structure specifies a path to environment variable information when the link target refers to a location that has a corresponding environment variable.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

BlockSize

BlockSignature

TargetAnsi (260 bytes)

...

...

TargetUnicode (520 bytes)

...

...

BlockSize (4 bytes): A 32-bit, unsigned integer that specifies the size of the EnvironmentVariableDataBlock structure. This value MUST be 0x00000314.

BlockSignature (4 bytes): A 32-bit, unsigned integer that specifies the signature of the EnvironmentVariableDataBlock extra data section. This value MUST be 0xA0000001.

TargetAnsi (260 bytes): A NULL-terminated string, defined by the system default code page, which specifies a path to environment variable information.

TargetUnicode (520 bytes): An optional, NULL-terminated, Unicode string that specifies a path to environment variable information.