3.2.2.1 CodePage Property Example
This is an example of a CodePage property (VT_I2 TypedPropertyValue property).
Offset |
Size |
Structure |
Value |
---|---|---|---|
000000C4 |
0008 |
TypedPropertyValue - GKPIDDSI_CODEPAGE |
|
000000C4 |
0002 |
WORD - wType |
0x0002 |
000000C6 |
0002 |
WORD - padding |
0x0000 |
000000C8 |
0002 |
WORD - value |
0x04E4 |
000000CA |
0002 |
WORD - unused |
0x0000 |
Figure 17: Structure of a CodePage property
GKPIDDSI_CODEPAGE: CodePage.
wType: 0x0002 indicates this property is a VT_I2 TypedPropertyValue property (2-byte integer).
value: 0x04E4 (1252) indicates the code page used for the property values of the Lpstr (section 2.3.3.1.4) and UnalignedLpstr (section 2.3.3.1.5) properties in the Document Summary Information property set (section 2.3.3.2.2).