4.1.2 Server Responds to Client Request

The server response buffer for the successful RopCreateFolder operation ([MS-OXCROPS] section 2.2.4.2) consists of a 15-byte sequence, formatted as follows.

 0000: 1C 01 00 00 00 00 01 00-00 00 0E 91 52 12 00

The first six bytes contain the RopId and OutputHandleIndex fields, as specified in [MS-OXCROPS] section 2.2.4.2.2, and the ReturnValue field, as specified in section 2.2.1.2.2.

  
 0000: 1C 01 00 00 00 00

RopId: 0x1C (RopCreateFolder ROP)

OutputHandleIndex: 0x01. This index is the same as that in the OutputHandleIndex field specified in the request in section 4.1.1.

ReturnValue: 0x00000000. The folder has successfully been created.

The next eight bytes provide the FolderId field, as described in section 2.2.1.2.2, for the newly created folder.

  
 0006: 01 00 00 00 0E 91 52 12

FolderId: 0001-00000E915212

The next byte contains the IsExistingFolder field, as described in section 2.2.1.2.2.

  
 000F: 00

IsExistingFolder: 0x00 (FALSE). A new folder was created.

Because the value of the IsExistingFolder field is FALSE, this is the last byte of this ROP response buffer.