Expand Minimize

PidTagFolderWebViewInfo Cannonical Property

Last modified: July 23, 2011

Applies to: Outlook

Contains the URL for the home page of a folder in Microsoft Outlook. This property contains a binary stream called WebViewPersistenceObject.

Associated properties:

PR_FOLDER_WEBVIEWINFO

Identifier:

0x36DF

Data type:

PT_BINARY

Area:

MAPI folder

A home page URL can be specified for any Outlook folder. This information can be accessed in Outlook from the Home Page tab of the Properties dialog box for a folder.

Depending on certain policy settings, the home page might be ignored by Outlook if the MAPI store that contains this folder does not report MSCAP_SECURE_FOLDER_HOMEPAGES in its IMSCapabilities::GetCapabilities implementation.

Both the Outlook Today folder and a public folder can have home page URLs. However the Outlook Today folder uses a different mechanism to manage its home page URL; that mechanism is not covered in this topic. A public folder might also have a home page URL defined in it that is specific to a user. However, that capability is not described in this topic.

The value of this property is a binary stream called WebViewPersistenceObject.

WebViewPersistenceObject Stream Structure

The WebViewPersistenceObject stream structure contains information about a home page URL for a folder.

Data elements in this structure are stored in little-endian byte order, immediately following one another in the following specified order.

Note Note

The following description may not list all of the field values supported by Outlook; therefore, when your code reads an existing stream, some flags that are not listed here might also be found. However, you can use this description to programmatically create values for the PidTagFolderWebViewInfo property that Outlook will understand.

dwVersion

DWORD (4 bytes). The version of the structure’s format. As of Microsoft Office Outlook 2007, the only supported value for this field is as follows.

Value name

Value

WEBVIEW_PERSISTENCE_VERSION

0x00000002

dwType

DWORD (4 bytes). The type of the home page information. As of Microsoft Office Outlook 2007, the only supported value for this field is as follows.

Value name

Value

WEBVIEWURL

0x00000001

dwFlags

DWORD (4 bytes). A combination of zero or more flags whose values and meanings are listed in the following table.

Flag name

Value

Description

WEBVIEW_FLAGS_SHOWBYDEFAULT

0x00000001

The Show home page by default for this folder check box was checked in the Home Page tab of the Properties dialog box for a folder.

dwUnused[7]

An array of 7 DWORD elements (28 bytes total). Unused.

cbData

A ULONG (4 bytes). The size, in bytes, of the wzURL data element.

wzURL

An array of WCHAR elements. The UTF-16 representation of the zero-terminated home page URL string.

WebViewPersistenceObject Stream Sample

This section describes an example of a WebViewPersistenceObject stream. The stream specifies the home page URL "http://www.microsoft.com".

Data dump

The following is a data dump of the stream as it would be displayed in a binary editor.

Stream offset

Data bytes

ASCII data

0000000000

02 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00

?...?...?.......

0000000010

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

................

0000000020

00 00 00 00 00 00 00 00 32 00 00 00 68 00 74 00

........2...h.t.

0000000030

74 00 70 00 3A 00 2F 00 2F 00 77 00 77 00 77 00

t.p.:././.w.w.w.

0000000040

2E 00 6D 00 69 00 63 00 72 00 6F 00 73 00 6F 00

..m.i.c.r.o.s.o.

0000000050

66 00 74 00 2E 00 63 00 6F 00 6D 00 00 00

f.t...c.o.m...

The following is a parse of the sample data for the WebViewPersistenceObject stream.

dwVersion

Offset 0x0, 4 bytes: 0x00000002 (WEBVIEW_PERSISTENCE_VERSION).

dwType

Offset 0x4, 4 bytes: 0x00000001 (WEBVIEWURL).

dwFlags

Offset 0x8, 4 bytes: 0x00000001 (WEBVIEW_FLAGS_SHOWBYDEFAULT).

dwUnused[7]

Offset 0xC, 28 bytes: all zeros.

cbData

Offset 0x28, 4 bytes: 0x00000032.

wzURL

Offset 0x2C, 0x32 bytes: array of 25 WCHARs. A Unicode zero-terminated string value: "http://www.microsoft.com".

Show:
© 2014 Microsoft