Compartir a través de


2.2.1.3.1 RopDeleteFolder ROP Request Buffer

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

InputHandleIndex (1 byte):  An integer that specifies the location in the Server object handle table where the handle for the input Server object is stored. The input Server object for this operation is a Folder object that represents the parent folder of the folder to be deleted.

DeleteFolderFlags (1 byte):  A set of bits that control the deletion of a folder. By default, the RopDeleteFolder ROP operates only on empty folders, but it can be used successfully on non-empty folders by setting the DEL_FOLDERS bit and the DEL_MESSAGES bit.

The valid bits for this field are listed in the following table. The client MUST NOT set any other bits.

Bit name

Value

Meaning

DEL_MESSAGES

0x01

The folder and all of the Message objects in the folder are deleted.

DEL_FOLDERS

0x04

The folder and all of its subfolders are deleted.

DELETE_HARD_DELETE

0x10

If this bit is set, the folder SHOULD be hard deleted. If it is not set, the folder is soft deleted.

FolderId (8 bytes):  A FID structure ([MS-OXCDATA] section 2.2.1.1) that specifies the folder to be deleted.