2.2.1.8.1 RopCopyFolder ROP Request Buffer

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

SourceHandleIndex (1 byte):  An integer that specifies the location in the Server object handle table where the handle for the source Server object is stored. The source Server object for this operation is a Folder object that represents the parent folder from which the folder will be copied.

DestHandleIndex (1 byte):  An integer that specifies the location in the Server object handle table where the handle for the destination Server object is stored. The destination Server object for this operation is a Folder object that represents the parent folder to which the folder will be copied.

WantAsynchronous (1 byte):  A Boolean value that is nonzero (TRUE) if the ROP is to be processed asynchronously or zero (FALSE) if the ROP is to be processed synchronously. For details about asynchronous processing, see section 3.1.5.2.

WantRecursive  (1 byte):  A Boolean value that is nonzero (TRUE) if the folder is to be copied recursively—that is, all of the folder's subfolders are copied to the new folder and the subfolders' subfolders are copied to the new folder and so on. The value is zero (FALSE) otherwise.

UseUnicode (1 byte):  A Boolean value that is nonzero (TRUE) if the value of the NewFolderName field is formatted in Unicode; it is zero (FALSE) otherwise.

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

NewFolderName (variable):  A null-terminated string that specifies the new name for the copied folder.