2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.OLE
|
2025-09-26 11:57:18 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A file that has one or more property sets associated with it through the alternate
|
|
|
|
|
/// stream binding MUST have a control stream, which is an alternate stream with the name
|
|
|
|
|
/// "{4c8cc155-6c1e-11d1-8e41-00c04fb9386d}". This stream MUST contain the following packet.
|
|
|
|
|
/// </summary>
|
2025-10-30 22:52:56 -04:00
|
|
|
/// <see href="https://winprotocoldoc.z19.web.core.windows.net/MS-OLEPS/%5bMS-OLEPS%5d.pdf"/>
|
2025-09-26 11:57:18 -04:00
|
|
|
public class ControlStream
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MUST be set to zero, and nonzero values MUST be rejected.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ushort Reserved1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MUST be set to zero, and MUST be ignored.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ushort Reserved2 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// An application-provided value that MUST NOT be interpreted by the
|
|
|
|
|
/// OLEPS implementation. If the application did not provide a value,
|
|
|
|
|
/// it SHOULD be set to zero.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint ApplicationState { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// An application-provided value that MUST NOT be interpreted by the
|
|
|
|
|
/// OLEPS implementation. If the application did not provide a value,
|
|
|
|
|
/// it SHOULD be absent.
|
|
|
|
|
/// </summary>
|
2025-10-31 13:59:28 -04:00
|
|
|
public GUID CLSID { get; set; } = new();
|
2025-09-26 11:57:18 -04:00
|
|
|
}
|
|
|
|
|
}
|