From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Library:MFC" |
|---|
| claim | "In an MFC archive, object tag 0 is a NULL pointer, 0xFFFF (-1) introduces a class description new to the archive (schema number and ASCII class name), and 0x8000 marks a class already seen in this archive context." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "MFC CArchive" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "MFC_ARCHIVE_TAGS" |
|---|
| values | | 0x0000 | "wNullTag" |
|---|
| 0xFFFF | "wNewClassTag" |
|---|
| 0x8000 | "wOldClassTag" |
|---|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "TN002 lists wNullTag (0), wNewClassTag (-1), wOldClassTag (0x8000) and that CRuntimeClass::Store writes the schema number and ASCII name" |
|---|
| repo | "https://github.com/MicrosoftDocs/cpp-docs" |
|---|
| path | "docs/mfc/tn002-persistent-object-data-format.md" |
|---|
|
| type | "documentation" |
|---|
| detail | "Tag table wNullTag 0, wNewClassTag -1, wOldClassTag 0x8000; Store writes schema number and ASCII name" |
|---|
| repo | "https://github.com/MicrosoftDocs/cpp-docs" |
|---|
| path | "docs/mfc/tn002-persistent-object-data-format.md" |
|---|
| lines | "45-47, 59" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Archive object tags" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T16:08:05.059Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-18T22:20:03.983Z" |
|---|
| result | "confirmed" |
|---|
| method | "Fetched raw MicrosoftDocs/cpp-docs docs/mfc/tn002-persistent-object-data-format.md and read the tag table (lines 45-47): wNullTag 0, wNewClassTag -1, wOldClassTag 0x8000; line 59 says CRuntimeClass::Store inserts the schema number and the ASCII class name after wNewClassTag." |
|---|
| notes | "Documentation only; 0xFFFF is the 16-bit form of -1." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-18T22:20:18.543Z" |
|---|
| summary | "Raised to high: tag table and Store description match TN002" |
|---|
| changed | |
|---|
|
|
|---|