AVIGetFromClipboard function (vfw.h)

The AVIGetFromClipboard function copies an AVI file from the clipboard.

Syntax

HRESULT AVIGetFromClipboard(
  PAVIFILE *lppf
);

Parameters

lppf

Pointer to the location used to return the handle created for the AVI file.

Return value

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h
Library Vfw32.lib
DLL Avifil32.dll

See also

AVIFile Functions

AVIFile Functions and Macros