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: 041000004800000000000000000000000001000000003E00000001000000BCCD87182E000000C4CD8718000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD890000020DEFA8000000000000000000000200000000000000070000000200000003000000020001001E001A001E001A00100049504D2E4170706F696E746D656E74000200000003000000020001001E001A001E001A000C0049504D2E436F6E74616374000200000003000000020001001E001A001E001A000D0049504D2E446973744C697374000200000003000000020001001E001A001E001A000D0049504D2E4163746976697479000200000003000000020001001E001A001E001A000F0049504D2E537469636B794E6F7465000200000003000000000001001E001A001E001A00090049504D2E5461736B000200000003000000020001001E001A001E001A000A0049504D2E5461736B2E000000000002000000000000000800000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD890000020DEFAE000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C01004A0BB9D92C2CA846B335575CBBF05492000001640002000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD890000020DD133000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD890000020DEFAC000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD8900000210B4D2000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD8900000210B4D3000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD8900000210B4D4000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD8900000210B4D10000010000000200000006000000000000000300070E010000000600000001000000030097100100000000000000 |
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 |
01000000BCCD87182E000000C4CD8718000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD890000020DEFA80000 EntryList structure ([MS-OXCDATA] section 2.3.1):
|
SkipBlock2 |
0x00000000 |
SearchRestriction |
000000000200000000000000070000000200000003000000020001001E001A001E001A00100049504D2E4170706F696E746D656E74000200000003000000020001001E001A001E001A000C0049504D2E436F6E74616374000200000003000000020001001E001A001E001A000D0049504D2E446973744C697374000200000003000000020001001E001A001E001A000D0049504D2E4163746976697479000200000003000000020001001E001A001E001A000F0049504D2E537469636B794E6F7465000200000003000000000001001E001A001E001A00090049504D2E5461736B000200000003000000020001001E001A001E001A000A0049504D2E5461736B2E000000000002000000000000000800000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD890000020DEFAE000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C01004A0BB9D92C2CA846B335575CBBF05492000001640002000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD890000020DD133000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD890000020DEFAC000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD8900000210B4D2000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD8900000210B4D3000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD8900000210B4D4000004000000050000000201090E0201090E2E00000000000A19D6BCC8B44A4CBF5DF63A922E170C010014E20014EE879243A1A829B0620DBD8900000210B4D10000010000000200000006000000000000000300070E0100000006000000010000000300971001000000 (The Restriction structure, as described in section 2.2.1.2.8.2) |
SkipBlock3 |
0x00000000 |