Share via


AVIGetFromClipboard

The AVIGetFromClipboard function copies an AVI file from the clipboard.

STDAPI AVIGetFromClipboard(
  PAVIFILE * lppf  
);

Parameters

lppf

Pointer to 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.

The argument lppf is the address of 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