Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>enumclipbformats()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
EnumClipbFormats()
Return the known clipboard formats one by one
------------------------------------------------------------------------------

Syntax
EnumClipbFormats( <nFormat> )   -->   nNextFormat

Arguments
<nFormat> is an integer specifying a format belonging to the
clipboard.  (Use zero (0) on the first call.)

Returns
The next format after the one specified is returned as a non-zero
numeric.  If there are no more formats, zero (0) is returned.

Description
This function returns the next clipboard format after the one
specified.  The clipboard must have been opened using the
OpenClipboard() function.

Example
nFmt = 0
do while ( nFmt := EnumClipbFormats( nFmt ) )  !=  0
     // process this one
enddo


See Also: CloseClipboard() OpenClipboard() RegClipbFormat()

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