2.2.3.1.1 RopOpenMessage ROP Request Buffer

The following descriptions define valid fields for the request buffer of the RopOpenMessage ROP ([MS-OXCROPS] section 2.2.6.1).

CodePageId: 2 bytes specifying the code page in which the non-Unicode representation of the strings on this Message object are encoded. A value of 0x0FFF means that the code page of the Logon object is used.

FolderID: 8 bytes containing the FID ([MS-OXCDATA] section 2.2.1.1) of the folder from which the message is to be opened.

OpenModeFlags: 1 byte. The values given in the following table are valid; if other bits are set, they are ignored.

Flag name

Value

Description

ReadOnly

0x00

Message will be opened as read-only.

ReadWrite

0x01

Message will be opened for both reading and writing.

BestAccess

0x03

Open for read/write if the user has write permissions for the folder, read-only if not.<12>

OpenSoftDeleted

0x04

Open a soft deleted Message object if available.