AVIPutFileOnClipboard

The AVIPutFileOnClipboard function copies an AVI file to the clipboard.

STDAPI AVIPutFileOnClipboard(
  PAVIFILE pf  
);

Parameters

pf

Handle to an open AVI file.

Return Values

Returns zero if successful or an error otherwise.

Remarks

This function also copies data with the CF_DIB, CF_PALETTE, and CF_WAVE clipboard flags onto the clipboard using the first frame of the first video stream of the file as a DIB and using the audio stream as CF_WAVE.

The argument pf is a pointer to an IAVIFile interface.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.
**  Library:** Use Vfw32.lib.

See Also

AVIFile Functions and Macros, AVIFile Functions