2.5.5 IconEnvironmentDataBlock

The IconEnvironmentDataBlock structure specifies the path to an icon. The path is encoded using environment variables, which makes it possible to find the icon across machines where the locations vary but are expressed using environment variables.


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 IconEnvironmentDataBlock structure. This value MUST be 0x00000314.

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

TargetAnsi (260 bytes): A NULL-terminated string, defined by the system default code page, which specifies a path that is constructed with environment variables.

TargetUnicode (520 bytes): An optional, NULL-terminated, Unicode string that specifies a path that is constructed with environment variables.