AVIPutFileOnClipboard

The AVIPutFileOnClipboard function copies an AVI file to the clipboard.

STDAPI AVIPutFileOnClipboard(
  PAVIFILE pf  
);
 

Parameters

pf
Handle of 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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.
  Import Library: Use vfw32.lib.

See Also

AVIFile Functions and Macros Overview, AVIFile Functions