AVIMakeStreamFromClipboard function (vfw.h)
The AVIMakeStreamFromClipboard function creates an editable stream from stream data on the clipboard.
Syntax
HRESULT 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
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 |