Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>setclipboarddata</b> set handle for clipboard data http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetClipboardData     Set Handle For Clipboard Data

HANDLE SetClipboardData(wFormat, hMem)
WORD wFormat;
HANDLE hMem;

                wFormat
         |----------------------------------------------------------|
         |CF_BITMAP                                                 |
         |CF_DIF              Software Arts' Data Interchange Format|
         |CF_DSPBITMAP        Bitmap Display Format                 |
         |CF_DSPMETAFILEPICT  Metafile-picture display format       |
         |CF_DSPTEXT          Display Text                          |
         |CF_METAFILEPICT     Metafile picture                      |
         |CF_OWNERDISPLAY     Owner of clipboard displays viewer    |
         |CF_PRIVATEFIRST     Range of values for...                |
         |CF_PRIVATELAST                     ...private formats     |
         |CF_SYLK             Microsoft Symbolic Link Format        |
         |CF_TEXT             CR-LF delimited lines                 |
         |CF_TIFF             Tag Image Format File                 |
         +----------------------------------------------------------+

Note:           Once set into clipboard the block should not be
                freed nor left locked.

See Also: GetClipboardData EnumClipboardFormats GetClipboardFormatName

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