AVIMakeStreamFromClipboard function

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

Syntax


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 value

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

Library

Vfw32.lib

DLL

Avifil32.dll

See also

AVIFile Functions and Macros
AVIFile Functions

 

 

Show: