File format v2.0. Supported by WinHex 11.8 and later. POS files are used
to store selected file or disk offsets along with a textual description. Look here for file format v1.1, which can still be read by
WinHex.
Offset (0X) | Type | Description |
---|---|---|
0 | char[16] | File signature. ASCII characters WinHex Pos v2.0 + 0X00 |
10 | 32-bit integer | Flags. Currently all zero. Flag 0X01: Unicode instead of ASCII characters. |
14 | 32-bit integer | Specifies the number of position chunks stored in the POS file. |
18 | PositionChunk[] | Position chunks of variable size, each containing one position offset and description. |
The following section is optional and for internal purposes only. It may occur repeatedly. Extension of WinHex 9.3 and later. |
||
n/a | 16-bit integer | Designates the length of the following string in ASCII characters. |
n/a | char[] | Contains a string. Not null-terminated. |
Position chunk format:
Type | Element | Description |
---|---|---|
64-bit integer | Offset | Specifies the start offset of the position itself, i. e. the offset within a file or a disk. |
64-bit integer | Size | Specifies the length of the position in bytes. |
FILETIME | Time | Specifies the time this position was entered. 64-bit Win32 FILETIME format. |
byte[3] | RGB | Color highlighting for this position. (0,0,0) designates the default color. |
byte | Flags | 0x01 = Position is a search hit. 0x40 = Extended chunk. 0x80 = Position is selected. |
16-bit integer | DescrLen | Designates the length of Descr in ASCII characters. In the current implementation of WinHex, 8192 at max. May be zero if no description is provided. |
char[DescrLen] | Descr | Contains the position description in ASCII. Not null-terminated. |
THE INFORMATION PROVIDED ON THIS PAGE IS PROVIDED AS IS WITHOUT WARRANTY OF
ANY KIND.