mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-14 18:23:08 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
52 lines
1.8 KiB
C#
52 lines
1.8 KiB
C#
using System;
|
|
|
|
namespace SabreTools.Data.Models.CFB
|
|
{
|
|
public static class Constants
|
|
{
|
|
public static readonly byte[] SignatureBytes = [0xD0, 0xCF, 0x11, 0xE0, 0xA1, 0xB1, 0x1A, 0xE1];
|
|
|
|
public const ulong SignatureUInt64 = 0xE11AB1A1E011CFD0;
|
|
|
|
/// <see href="https://devblogs.microsoft.com/setup/identifying-windows-installer-file-types/"/>
|
|
#region Class IDs
|
|
|
|
/// <summary>
|
|
/// Installer Package (msi), Merge Module (msm), Patch Creation Properties (pcp)
|
|
/// </summary>
|
|
public static readonly Guid InstallerPackage = new("000c1084-0000-0000-c000-000000000046");
|
|
|
|
/// <summary>
|
|
/// Patch Package (msp)
|
|
/// </summary>
|
|
public static readonly Guid PatchPackage = new("000C1086-0000-0000-C000-000000000046");
|
|
|
|
/// <summary>
|
|
/// Transform (mst)
|
|
/// </summary>
|
|
public static readonly Guid Transform = new("000C1082-0000-0000-C000-000000000046");
|
|
|
|
#endregion
|
|
|
|
/// <see href="https://learn.microsoft.com/en-us/windows/win32/stg/predefined-property-set-format-identifiers"/>
|
|
#region Property Set Format IDs
|
|
|
|
/// <summary>
|
|
/// The Summary Information Property Set
|
|
/// </summary>
|
|
public static readonly Guid FMTID_SummaryInformation = new("F29F85E0-4FF9-1068-AB91-08002B27B3D9");
|
|
|
|
/// <summary>
|
|
/// The DocumentSummaryInformation and UserDefined Property Sets
|
|
/// </summary>
|
|
public static readonly Guid FMTID_DocSummaryInformation = new("D5CDD502-2E9C-101B-9397-08002B2CF9AE");
|
|
|
|
/// <summary>
|
|
/// The DocumentSummaryInformation and UserDefined Property Sets
|
|
/// </summary>
|
|
public static readonly Guid FMTID_UserDefinedProperties = new("D5CDD505-2E9C-101B-9397-08002B2CF9AE");
|
|
|
|
#endregion
|
|
}
|
|
}
|