Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - getclpdata() retrieves the handle of the current clipboard data http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GetClpData()           Retrieves the handle of the current clipboard data
--------------------------------------------------------------------------------

   Syntax:              GetClpData( <nFormat> ) --> <cData>

                        This function retrieves the containts of the
                        ClipBoard. FiveWin, right now, only supports
                        text manipulation through the Clipboard (though
                        it is not a FiveWin limitation, just because we
                        did not have the time yet! <g>)

   Parameters:

   <nFormat>            The type of data to be retrieved:

                        CF_BITMAP   The data is a bitmap.
                        CF_DIB      The data is a memory object containing a
                                    BITMAPINFO structure followed by the
                                    bitmap data.
                        CF_DIF      The data is in Data Interchange Format
                                    (DIF).
                        CF_DSPBITMAP The data is a bitmap representation of a
                                    private format. This data is displayed in
                                    bitmap format in lieu of the privately
                                    formatted data.
                        CF_DSPMETAFILEPICT The data is a metafile representation
                                    of a private data format. This data is
                                    displayed in metafile-picture format in
                                    lieu of the privately formatted data.
                        CF_DSPTEXT  The data is a textual representation of a
                                    private data format. This data is displayed
                                    in text format in lieu of the privately
                                    formatted data.
                        CF_METAFILEPICT The data is a metafile (see the
                                    description of the METAFILEPICT structure.

                        CF_OEMTEXT  The data is an array of text characters
                                    in the OEM character set. Each line ends
                                    with a carriage returnlinefeed (CR-LF)
                                    combination. A null character signals the
                                    end of the data.
                        CF_OWNERDISPLAY The data is in a private format that
                                    the clipboard owner must display.
                        CF_PALETTE  The data is a color palette.
                        CF_PENDATA  The data is for the pen extensions to the
                                    Windows operating system.
                        CF_RIFF The data is in Resource Interchange File
                                    Format (RIFF).
                        CF_SYLK     The data is in Symbolic Link (SYLK) format.
                        CF_TEXT     The data is an array of text characters. Each
                                    line ends with a carriage returnlinefeed
                                    (CR-LF) combination. A null character
                                    signals the end of the data.
                        CF_TIFF     The data is in Tag Image File Format (TIFF).

                        CF_WAVE     The data describes a sound wave. This is a
                                    subset of the CF_RIFF data format; it can
                                    be used only for RIFF WAVE files.
   Returns:

   <cData>              The text placed at the clipboard.
                        ( it is pending to support the other formats,
                          or private new formats ).

   Source code:         SOURCE\\WINAPI\\ClpBrd.c

   See also:            OpenClipboard() SetClpData() CloseClipboard()


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson