flFmtInfo (ULONG) - input

      Information.

      Information about the type of data referenced by the ulh parameter.

      Memory Model

      One and only one of CFI_POINTER and CFI_HANDLE must be specified, unless CFI_OWNERDISPLAY is also specified.

      CFI_POINTER

        The ulh parameter is a flat pointer to the object.

        When this memory model is specified, the system:

        • saves the address (accessing it from the shell process), so that if the setting application terminates normally or abnormally, the data is still available.
        • frees the memory from the setting process, so that the setting application may no longer use it.
        CFI_POINTER must be specified if the ulfmt parameter is CF_TEXT or CF_DSPTEXT.
      CFI_HANDLE
        The ulh parameter is the handle to a metafile or bit map.

        This must be specified if the ulfmt parameter is CF_BITMAP, CF_DSPBITMAP, CF_METAFILE or CF_DSPMETAFILE.

      Usage Flags

      CFI_OWNERFREE

        Handle is not freed by WinEmptyClipbrd. The application must free the data if necessary.
      CFI_OWNERDISPLAY
        This flag indicates that the format is drawn by the clipboard owner in the clipboard viewer window by means of the WM_PAINTCLIPBOARD message. The ulh parameter should be NULL.
      The values may be combined with bit-wise OR. Any number of the usage flags may be specified, but only one of the memory models.


    [Back] [Next]