Skip to content

Commit 29bf97b

Browse files
author
Sicos1977
committed
Renamed Consts.cs to MapiConsts.cs
1 parent 8138bad commit 29bf97b

1 file changed

Lines changed: 27 additions & 2 deletions

File tree

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
namespace DocumentServices.Modules.Readers.MsgReader.Outlook
22
{
3-
internal static class Consts
3+
/// <summary>
4+
/// Contains all MAPI related constants
5+
/// </summary>
6+
internal static class MapiConsts
47
{
58
/*
69
@@ -386,15 +389,37 @@ the properties in each range.
386389
public const string PR_TRANSPORT_MESSAGE_HEADERS_2 = "007D001F";
387390

388391
#region Stream constants
392+
/// <summary>
393+
/// Sub storage version 1.0 streams
394+
/// </summary>
395+
public const string SubStgVersion1 = "__substg1.0";
396+
389397
/// <summary>
390398
/// Stream that contains the internet E-mail headers
391399
/// </summary>
392400
public const string HeaderStreamName = "__substg1.0_007D001F";
401+
402+
/// <summary>
403+
/// The stream that contains all the MAPI properties
404+
/// </summary>
393405
public const string PropertiesStream = "__properties_version1.0";
406+
407+
/// <summary>
408+
/// Contains the streams needed to perform named property mapping
409+
/// </summary>
410+
public const string NameIdStorage = "__nameid_version1.0";
411+
412+
/// <summary>
413+
/// The stream with the name properties are always in stream "__substg1.0_00030102"
414+
/// </summary>
415+
public const string NameIdStorageMappingStream = "__substg1.0_00030102";
416+
417+
/// <summary>
418+
///
419+
/// </summary>
394420
public const int PropertiesStreamHeaderTop = 32;
395421
public const int PropertiesStreamHeaderEmbeded = 24;
396422
public const int PropertiesStreamHeaderAttachOrRecip = 8;
397-
public const string NameIdStorage = "__nameid_version1.0";
398423
#endregion
399424
// ReSharper restore InconsistentNaming
400425
}

0 commit comments

Comments
 (0)