AVIMakeStreamFromClipboard

The AVIMakeStreamFromClipboard function creates an editable stream from stream data on the clipboard.

SDTAPI AVIMakeStreamFromClipboard(
  UINT cfFormat,         
  HANDLE hGlobal,        
  PAVISTREAM * ppstream  
);
 

Parameters

cfFormat
Clipboard flag.
hGlobal
Handle of stream data on the clipboard.
ppstream
Handle of the created stream.

Return Values

Returns zero if successful or an error otherwise.

Remarks

When an application finishes using the editable stream, it must release the stream to free the resources associated with it.

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