Clipboard Data Formats

 The following data formats are supported by the INT 2fH Windows Clipboard
 functions:

    0001H (CF_TEXT) The data is an array of text characters.  Each line
          ends with a carriage return/linefeed (0dH,0aH) combination.  A
          null character (00H) signals the end of the data.

    0002H (CF_BITMAP) The data is a bitmap (see CbBmpRec structure, below).

    0007H (CF_OEMTEXT) The data is an array of text characters in the OEM
          character set.  Each line ends with a carriage return/linefeed
          (0dH,0aH) combination.  A null character (00H) signals the end of
          the data.

    0081H (CF_DSPTEXT) The data is a textual representation of a private
          data format (for instance, RTF text with text-formatting codes).
          The clipboard viewer displays this in text format in lieu of the
          privately-formatted data.

    0082H (CF_DSPBITMAP) The data is a bitmap representation of a private
          format.  The clipboard viewer displays this in bitmap format in
          lieu of the privately formatted data (see CbBmpRec, below).

 Each of the text formats is composed of one long ASCIIZ string,
 optionally broken into lines with CR/LF pairs.

 When CF_BITMAP or CF_DSPBITMAP data types are used, the data is prefaced
 by the following structure; the image data follows it, starting at offset
 16H.  When calculating the memory needs to hold this data, add 22 bytes to
 the total to account for this header.

          CbBmpRec
            Offset Size Contents
            ▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
             +0      2  wType        always 0000H
             +2      2  wWidth       bitmap width, in pixels
             +4      2  wHeight      bitmap height, in pixels
             +6      2  wWideBytes   bytes per raster line
             +8      1  bPlanes      color planes in bitmap
             +9      1  bBitsPixels  adjacent color bits per pixel
            +0aH     8  pfBits       points to abData (ignore this)
            +12H     2  wWidDim      bitmap width in 0.1 mm units
            +14H     2  wHighDim     bitmap height in 0.1 mm units
                    22               size of formatted header
            +16H     n  abData       bitmap data starts here

See Also: INT 2fH 17xxH: Windows Clipboard Functions
          INT 2fH: Multiplex Interrupt
          DOS Functions
                                    -♦-