none
[MS-PST] BTPAGE structure for ANSI format files RRS feed

  • Question

  • Hi,

    MS-PST v20100218 Section 2.2.2.7.7.1 "BTPAGE" has two structure diagrams (top of page 36 in the PDF version).

    No problem with the Unicode version.

    I'm seeing a difference between an ANSI format ("97-2002") file generated with Outlook 2007 and the diagram.

    In my sample file, I see the cEnt, cEntMax, cbEnt and cLevel values directly before the pageTrailer. It looks like the dwPadding value is in the wrong place - perhaps it should come after rgentries?

     

    Here is a dump of the root NBT node

    od -t x1 -Ax -v 97-2002\ \(empty\).pst
    000000 21 42 44 4e 10 e3 62 83 53 4d 0e 00 13 00 01 01
    000010 80 05 00 00 f4 60 1c 00 a8 01 00 00 54 01 00 00
    000020 27 00 00 00 00 04 00 00 00 04 00 00 04 04 00 00
    000030 01 40 00 00 00 00 01 00 00 04 00 00 01 40 00 00
    000040 01 40 00 00 00 80 00 00 00 04 00 00 00 04 00 00
    000050 00 04 00 00 00 04 00 00 04 04 00 00 04 04 00 00
    000060 04 04 00 00 01 40 00 00 00 04 00 00 00 04 00 00
    000070 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00
    000080 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00
    000090 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00
    0000a0 00 04 00 00 00 00 00 00 00 24 04 00 00 44 00 00
    0000b0 c0 b9 03 00 00 00 00 00 51 01 00 00 00 84 00 00
    0000c0 52 01 00 00 00 4a 00 00 02 00 00 00 ff ff ff ff
    ....
    008400 21 00 00 00 50 01 00 00 00 74 00 00 22 80 00 00
    008410 46 01 00 00 00 72 00 00 00 00 00 00 00 00 00 00
    008420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008470 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008490 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0084a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0084b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0084c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0084d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0084e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0084f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008510 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008530 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008550 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008570 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    008590 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0085a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0085b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0085c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0085d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0085e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0085f0 02 29 0c 01 81 81 51 85 51 01 00 00 de ab 0b af
    
    Saturday, March 20, 2010 8:49 AM

Answers

  • Hi Brad,

     

    Thank you for your question and helping us to improve our documentation.  After investigating, the documentation is incorrect.

     

    Section 2.2.2.7.7.1 BTPAGE, the diagram should reflect this ordering for ANSI files:

    {dwPadding (4 bytes), followed by cEnt (1 byte), cEntMax (1 byte), cbEnt (1 byte), cLevel (1 byte)}

     

    0085e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    0085f0 02 29 0c 01 81 81 51 85 51 01 00 00 de ab 0b af

     

     

    I hope this answers your question.

     

    Regards,

    Mark Miller

    Escalation Engineer

    US-CSS DSC PROTOCOL TEAM
    Friday, March 26, 2010 7:40 PM

All replies

  • Hi Brad:

    I have alerted the protocol documentation team about your question regarding MS-PST. A member of the team will be in touch soon.


    Regards, Obaid Farooqi
    Saturday, March 20, 2010 7:59 PM
    Owner
  • Hi Brad,

     

    Thank you for your question and helping us to improve our documentation.  After investigating, the documentation is incorrect.

     

    Section 2.2.2.7.7.1 BTPAGE, the diagram should reflect this ordering for ANSI files:

    {dwPadding (4 bytes), followed by cEnt (1 byte), cEntMax (1 byte), cbEnt (1 byte), cLevel (1 byte)}

     

    0085e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    0085f0 02 29 0c 01 81 81 51 85 51 01 00 00 de ab 0b af

     

     

    I hope this answers your question.

     

    Regards,

    Mark Miller

    Escalation Engineer

    US-CSS DSC PROTOCOL TEAM
    Friday, March 26, 2010 7:40 PM
  • Mark,

    Thanks for this information.

    Brad

    Friday, March 26, 2010 10:48 PM
  • Roy,

    You need to post a message in an appropriate forum, or send an email to the protocols team. Details are available at https://www.microsoft.com/openspecifications/support/

    Brad

    Wednesday, July 7, 2010 7:40 AM