AVIGetFromClipboard

The AVIGetFromClipboard function copies an AVI file from the clipboard.

STDAPI AVIGetFromClipboard(
  PAVIFILE * lppf  
);
 

Parameters

lppf
Address of the location used to return the handle created for the AVI file.

Return Values

Returns zero if successful or an error otherwise.

Remarks

If the clipboard does not contain an AVI file, AVIGetFromClipboard also can copy data with the CF_DIB or CF_WAVE clipboard flags to an AVI file. In this case, the function creates an AVI file with one DIB stream and one waveform-audio stream, and fills each stream with the data from the clipboard.

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