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 to stream data on the clipboard.

ppstream

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

The argument ppstream is the address of a pointer to an IAVIStream 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

Show: