EnumClipFm( )

Microsoft Visual FoxPro Foxtools

EnumClipFm( )

Enumerates the formats found in a list of available formats that belong to the Clipboard.

Syntax

EnumClipFm(nFormat)

nFormat

Specifies a Clipboard format.

To determine the available clipboard formats, set nFormat to 0; EnumClipFm( ) will return the first available Clipboard format. For subsequent calls to EnumClipFm( ), set nFormat to the return value of the previous EnumClipFm( ) call.

Return Type

Numeric

Remarks

Each call to EnumClipFm( ) specifies a known available format; the function returns the format that appears next in the list.

Almost all Clip functions rely on opening the Clipboard before using the function. You can use _CLIPTEXT to access the contents of the Windows Clipboard.

Note   This function maps to the Windows SDK function that is similarly named. For more information, see the Windows SDK documentation.