hab (HAB) - input

      Anchor-block handle.

    fmt (ULONG) - input

      Format of the data to be queried.

      In addition to the predefined formats, private formats can be created using the standard system atom manager. The following is the list of standard clipboard formats:

      CF_BITMAP

        Bit map.
      CF_DSPBITMAP
        Bit-map display format associated with private format.
      CF_DSPMETAFILE
        Metafile display format associated with private format.
      CF_DSPTEXT
        Text display format associated with private format.
      CF_METAFILE
        Metafile.
      CF_PALETTE
        Palette.
      CF_TEXT
        Text format. Each line ends with a carriage-return/line-feed combination. Tab characters separate fields within a line. A NULL character signals the end of the data.

      prgfFmtInfo (PULONG) - output

        Memory model and usage flags.

        These are the usage flags set by the setting application; that is, the CFI_* flags of the flFmtInfo parameter of the WinSetClipbrdData function.

        If the format is CF_BITMAP, CF_DSPBITMAP, CF_METAFILE or CF_DSPMETAFILE, prgfFmtInfo is set to CFI_HANDLE. If the format is CF_TEXT or CF_DSPTEXT, prgfFmtInfo is set to CFI_POINTER. If the format is user-defined, prgfFmtInfo is set to the value used in the WinSetClipbrdData function.

      rc (BOOL) - returns

        Format-exists indicator.

        TRUE

          fmt exists in the clipboard and prgfFmtInfo is set
        FALSE
          fmt does not exist in the clipboard and prgfFmtInfo is not set.


        [Back] [Next]