AVIPutFileOnClipboard function

The AVIPutFileOnClipboard function copies an AVI file to the clipboard.

Syntax

HRESULT AVIPutFileOnClipboard(
  PAVIFILE pf
);

Parameters

pf

Handle to an open AVI file.

Return Value

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

   
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