◄Function Group► ◄Overview► ◄Message Group► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINCLIPBOARD USHORT WinEnumClipbrdFmts(hab, fmt) HAB hab; /* handle of the anchor block */ USHORT fmt; /* index of last format enumerated */ The WinEnumClipbrdFmts function enumerates the list of clipboard data formats available in the clipboard. The clipboard must have been previously opened by calling the WinOpenClipbrd function. Parameter Description ──────────────────────────────────────────────────────────────────────────── hab Identifies the anchor block. fmt Specifies the index of the last clipboard data format enumerated using this function. This should start at zero, in which case the first available format is obtained. Subsequently, it should be set to the last format index value returned by this function. Return Value The return value is the index of the next available clipboard data format in the clipboard. When zero is returned, enumeration is complete (there are no further formats available). See Also WinOpenClipbrd ♦