From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:COM type library (TLB)" |
|---|
| claim | "MSFT_pSeg, the 16-byte entry of the MSFT segment directory, which has 16 entries in this order: TypeInfoTab, ImpInfo, ImpFiles, RefTab, GuidHashTab (0x80 bytes), GuidTab, NameHashTab (0x200 bytes), Nametab, Stringtab, TypdescTab, ArrayDescriptions, CustData, CDGuids and two unknown." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:COM type library (TLB)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "MSFT_pSeg" |
|---|
| size | 16 |
|---|
| fields | | offset | 0 |
|---|
| size | 4 |
|---|
| type | "int32_le" |
|---|
| name | "offset" |
|---|
| notes | "absolute offset in the file" |
|---|
|
| offset | 4 |
|---|
| size | 4 |
|---|
| type | "int32_le" |
|---|
| name | "length" |
|---|
| notes | "length of the segment" |
|---|
|
| offset | 8 |
|---|
| size | 4 |
|---|
| type | "int32_le" |
|---|
| name | "res08" |
|---|
| notes | "always -1" |
|---|
|
| offset | 12 |
|---|
| size | 4 |
|---|
| type | "int32_le" |
|---|
| name | "res0c" |
|---|
| notes | "0x0f in the header directory, 0x03 in the typeinfo data" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "tagMSFT_pSeg and tagMSFT_SegDir" |
|---|
| repo | "https://github.com/wine-mirror/wine" |
|---|
| commit | "7298a818b79446bae153b8d5aa27235ab3703bf9" |
|---|
| path | "dlls/oleaut32/typelib.h" |
|---|
| lines | "88-119" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "MSFT_pSeg" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T19:23:53.214Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:01:23.800Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read tagMSFT_pSeg and tagMSFT_SegDir in typelib.h at 7298a818: four INT per pSeg, 16 segments 1..F in the listed order (res0e, res0f unknown), GuidHashTab 0x80, NameHashTab 0x200." |
|---|
|
|
|---|