2.3.1.1 HID
An HID is a 4-byte value that identifies an item allocated from the heap. The value is unique only within the heap itself. The following is the structure of an HID.
Unicode / ANSI:
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
hidType |
hidIndex |
hidBlockIndex |
hidType (5 bits): HID Type; MUST be set to 0 (NID_TYPE_HID) to indicate a valid HID.
hidIndex (11 bits): HID index. This is the 1-based index value that identifies an item allocated from the heap node. This value MUST NOT be zero.
hidBlockIndex (16 bits): This is the zero-based data block index. This number indicates the zero-based index of the data block in which this heap item resides.