Format Identifiers

Property set values are stored in a section tagged with a unique FMTID. For example, the FMTID for the COM Summary Information property set is F29F85E0-4FF9-1068-AB91-08002B27B3D9.

To define a FMTID for the Summary Information property set, use the DEFINE_GUID macro in an include file for the code that manipulates the property set.

DEFINE_GUID(FMTID_SummaryInformation, 0xF29F85E0, 0x4FF9, 0x1068, 
0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9);

Any code that requires the FMTID for the Summary Information property set, can access it through the FMTID_SummaryInformation variable.

When storing property sets in IStorage instances, convert the FMTID to a string name for the storage object.