Share via


3.2.3.2 LinkBase Property Example

This is an example of the LinkBase property (VT_BLOB TypedPropertyValue property).

Offset

Size

Structure

Value

00000372

000A

TypedPropertyValue - _PID_LINKBASE

00000372

0002

    WORD - wType

0x0041

00000374

0002

    WORD - padding

0x0000

00000376

0004

    DWORD - cb

0x00000002

0000037A

0002

    Array of WCHAR - value

0x0000

0000037C

0002

    Array of bytes - padding

0x0000

Figure 26: Structure of a LinkBase property

wType: 0x0041 indicates the property is a VT_BLOB TypedPropertyValue property.

cb: 0x00000002 indicates the count of bytes of the value of this property. In this example, the value field contains an empty string, so 0x00000002 refers to the count of bytes of the Unicode terminating NULL character.

value: The value field of the property contains only a Unicode terminating NULL character.

padding: 0x0000 is 2 bytes of padding. This padding is added so that the length of this VT_BLOB TypedPropertyValue property structure is a multiple of 4 bytes.