4.1 Search Folder Message Object

This example shows the search folder definition message for a search folder that contains unread messages. To create this search folder definition message, the client creates a Message object having the property values shown in the following tables. For information about how to create a Message object, see [MS-OXCMSG].

Property name

Value

PidTagMessageClass (section 2.2.1.1.1)

IPM.Microsoft.WunderBar.SFInfo

PidTagDisplayName (section 2.2.1.1.2)

Unread Mail

PidTagSearchFolderLastUsed (section 2.2.1.2.4)

214089600

(08:00:00.000  January 21, 2008)

PidTagSearchFolderExpiration (section 2.2.1.2.5)

214089641

(08:41:00.000  January 21, 2008)

PidTagSearchFolderTemplateId (section 2.2.1.2.2)

2

(Unread Messages template, as described in section 2.2.3.1)

PidTagSearchFolderId (section 2.2.1.2.1)

cb: 16 lpb:

757154C8C1DFC14C91DE09C2044D2D1C

PidTagSearchFolderDefinition (section 2.2.1.2.8)

cb: 922 lpb:

04100000480000000000000000000000​0001000000003E00000001000000BCCD​87182E000000C4CD8718000000000A19​D6BCC8B44A4CBF5DF63A922E170C0100​14E20014EE879243A1A829B0620DBD89​0000020DEFA800000000000000000000​02000000000000000700000002000000​03000000020001001E001A001E001A00​100049504D2E4170706F696E746D656E​74000200000003000000020001001E00​1A001E001A000C0049504D2E436F6E74​61637400020000000300000002000100​1E001A001E001A000D0049504D2E4469​73744C69737400020000000300000002​0001001E001A001E001A000D0049504D​2E416374697669747900020000000300​0000020001001E001A001E001A000F00​49504D2E537469636B794E6F74650002​00000003000000000001001E001A001E​001A00090049504D2E5461736B000200​000003000000020001001E001A001E00​1A000A0049504D2E5461736B2E000000​00000200000000000000080000000400​0000050000000201090E0201090E2E00​000000000A19D6BCC8B44A4CBF5DF63A​922E170C010014E20014EE879243A1A8​29B0620DBD890000020DEFAE00000400​0000050000000201090E0201090E2E00​000000000A19D6BCC8B44A4CBF5DF63A​922E170C01004A0BB9D92C2CA846B335​575CBBF0549200000164000200000400​0000050000000201090E0201090E2E00​000000000A19D6BCC8B44A4CBF5DF63A​922E170C010014E20014EE879243A1A8​29B0620DBD890000020DD13300000400​0000050000000201090E0201090E2E00​000000000A19D6BCC8B44A4CBF5DF63A​922E170C010014E20014EE879243A1A8​29B0620DBD890000020DEFAC00000400​0000050000000201090E0201090E2E00​000000000A19D6BCC8B44A4CBF5DF63A​922E170C010014E20014EE879243A1A8​29B0620DBD8900000210B4D200000400​0000050000000201090E0201090E2E00​000000000A19D6BCC8B44A4CBF5DF63A​922E170C010014E20014EE879243A1A8​29B0620DBD8900000210B4D300000400​0000050000000201090E0201090E2E00​000000000A19D6BCC8B44A4CBF5DF63A​922E170C010014E20014EE879243A1A8​29B0620DBD8900000210B4D400000400​0000050000000201090E0201090E2E00​000000000A19D6BCC8B44A4CBF5DF63A​922E170C010014E20014EE879243A1A8​29B0620DBD8900000210B4D100000100​00000200000006000000000000000300​070E0100000006000000010000000300​97100100000000000000

PidTagSearchFolderStorageType (section 2.2.1.2.6)

72

(0x48, Flags B and E)

PidTagSearchFolderTag (section 2.2.1.2.3)

1045439171

PidTagSearchFolderEfpFlags (section 2.2.1.2.7)

0

The value of the PidTagSearchFolderDefinition property is interpreted as described in section 2.2.1.2.8:

Field name

Value

Version

0x00001004

A

0

B

1

(The FolderList2 field contains data.)

C

0

D

0

E

1

(The SearchRestriction field exists and contains data that defines the search criteria.)

F

0

G

0

H

0

I

0

J

0

K

0

L

0

Reserved

0x00000

NumericalSearch

0x00000000

TextSearchLength

0x00

SkipBlock1

0x00000000

DeepSearch

0x00000001

FolderList1Length

0x00

FolderList2Length

0x0000003E

FolderList2

01000000BCCD87182E000000C4CD8718000000000A19D6BCC8B44A4CBF5DF63A​922E170C010014E20014EE879243A1A829B0620DBD890000020DEFA80000

EntryList structure ([MS-OXCDATA] section 2.3.1):

  • EntryCount: 0x00000001

  • Pad: 0x1887CDBC

  • EntryLength: 0x0000002E, 0x1887CDC4

  • EntryIDs: 000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E2​0014EE879243A1A829B0620DBD890000020DEFA80000

SkipBlock2

0x00000000

SearchRestriction

000000000200000000000000070000000200000003000000020001001E001A00​1E001A00100049504D2E4170706F696E746D656E740002000000030000000200​01001E001A001E001A000C0049504D2E436F6E74616374000200000003000000​020001001E001A001E001A000D0049504D2E446973744C697374000200000003​000000020001001E001A001E001A000D0049504D2E4163746976697479000200​000003000000020001001E001A001E001A000F0049504D2E537469636B794E6F​7465000200000003000000000001001E001A001E001A00090049504D2E546173​6B000200000003000000020001001E001A001E001A000A0049504D2E5461736B​2E000000000002000000000000000800000004000000050000000201090E0201​090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE87​9243A1A829B0620DBD890000020DEFAE000004000000050000000201090E0201​090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C01004A0BB9D92C2C​A846B335575CBBF05492000001640002000004000000050000000201090E0201​090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE87​9243A1A829B0620DBD890000020DD133000004000000050000000201090E0201​090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE87​9243A1A829B0620DBD890000020DEFAC000004000000050000000201090E0201​090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE87​9243A1A829B0620DBD8900000210B4D2000004000000050000000201090E0201​090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE87​9243A1A829B0620DBD8900000210B4D3000004000000050000000201090E0201​090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE87​9243A1A829B0620DBD8900000210B4D4000004000000050000000201090E0201​090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE87​9243A1A829B0620DBD8900000210B4D100000100000002000000060000000000​00000300070E0100000006000000010000000300971001000000

(The Restriction structure, as described in section 2.2.1.2.8.2)

SkipBlock3

0x00000000