4.1.3 Client Clipboard Capabilities PDU

The following is an annotated dump of a client-to-server Clipboard Capabilities PDU (section 2.2.2.1).

 00000000 07 00 00 00 10 00 00 00 01 00 00 00 01 00 0c 00 ................
 00000010 02 00 00 00 0e 00 00 00                         ........
  
 07 00 -> CLIPRDR_HEADER::msgType = CB_CLIP_CAPS (7)
 00 00 -> CLIPRDR_HEADER::msgFlags = 0
 10 00 00 00 -> CLIPRDR_HEADER::dataLen = 0x10 = 16 bytes
  
 01 00 -> CLIPRDR_CAPS::cCapabilitiesSets = 1
 00 00 -> CLIPRDR_CAPS::pad1
  
 01 00 -> CLIPRDR_CAPS_SET::capabilitySetType = CB_CAPSTYPE_GENERAL (1)
 0c 00 -> CLIPRDR_CAPS_SET::lengthCapability = 0x0c = 12 bytes
  
 02 00 00 00 -> CLIPRDR_GENERAL_CAPABILITY::version = CB_CAPS_VERSION_2 (2)
 0e 00 00 00 -> CLIPRDR_GENERAL_CAPABILITY::capabilityFlags = 0x0000000e
 0x0e
 = 0x02 | 
   0x04 | 
   0x08
 = CB_USE_LONG_FORMAT_NAMES | 
   CB_STREAM_FILECLIP_ENABLED | 
   CB_FILECLIP_NO_FILE_PATHS