Skip to content

Latest commit

 

History

History
115 lines (79 loc) · 2.91 KB

nf-vfw-iavistream-write.md

File metadata and controls

115 lines (79 loc) · 2.91 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:vfw.IAVIStream.Write
IAVIStream::Write (vfw.h)
The Write method writes data to a stream. Called when an application uses the AVIStreamWrite function.
IAVIStream interface [Windows Multimedia]
Write method
IAVIStream.Write
IAVIStream::Write
Write
Write method [Windows Multimedia]
Write method [Windows Multimedia]
IAVIStream interface
_win32_IAVIStream_Write
multimedia.iavistream_write
vfw/IAVIStream::Write
multimedia\iavistream_write.htm
Multimedia
31252348-0830-4b1c-82a3-9f68818094da
12/05/2018
IAVIStream interface [Windows Multimedia],Write method, IAVIStream.Write, IAVIStream::Write, Write, Write method [Windows Multimedia], Write method [Windows Multimedia],IAVIStream interface, _win32_IAVIStream_Write, multimedia.iavistream_write, vfw/IAVIStream::Write
vfw.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Vfw32.lib
Windows
19H1
IAVIStream::Write
vfw/IAVIStream::Write
c++
APIRef
kbSyntax
COM
Vfw32.lib
Vfw32.dll
IAVIStream.Write

IAVIStream::Write

-description

The Write method writes data to a stream. Called when an application uses the AVIStreamWrite function.

-parameters

-param lStart

Starting sample or frame number to write.

-param lSamples

Number of samples to write.

-param lpBuffer

Pointer to the buffer for the data.

-param cbBuffer

Size, in bytes, of the buffer specified by lpBuffer.

-param dwFlags

Applicable flags. The AVIF_KEYFRAME flag is defined and indicates that this frame contains all the information needed for a complete image.

-param plSampWritten

Pointer to a buffer used to contain the number of samples written.

-param plBytesWritten

Pointer to a buffer that receives the number of bytes written.

- ps

Pointer to the interface to a stream.

-returns

Returns the HRESULT defined by OLE.

-remarks

For handlers written in C++, Write has the following syntax:

HRESULT Write(LONG lStart, LONG lSamples, LPVOID lpBuffer, 
    LONG cbBuffer, DWORD dwFlags, LONG *plSampWritten, 
    LONG *plBytesWritten); 
 

-see-also

Custom File and Stream Handler Interfaces

Custom File and Stream Handlers