Skip to content

Latest commit

 

History

History
142 lines (116 loc) · 3.22 KB

nf-vfw-avifilegetstream.md

File metadata and controls

142 lines (116 loc) · 3.22 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.AVIFileGetStream
AVIFileGetStream function (vfw.h)
The AVIFileGetStream function returns the address of a stream interface that is associated with a specified AVI file.
AVIFileGetStream
AVIFileGetStream function [Windows Multimedia]
_win32_AVIFileGetStream
multimedia.avifilegetstream
vfw/AVIFileGetStream
multimedia\avifilegetstream.htm
Multimedia
b51a823c-6904-4942-883f-bda347541757
12/05/2018
AVIFileGetStream, AVIFileGetStream function [Windows Multimedia], _win32_AVIFileGetStream, multimedia.avifilegetstream, vfw/AVIFileGetStream
vfw.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Vfw32.lib
Avifil32.dll
Windows
19H1
AVIFileGetStream
vfw/AVIFileGetStream
c++
APIRef
kbSyntax
DllExport
Avifil32.dll
Ext-MS-Win-Media-Avi-L1-1-0.dll
AVIFileGetStream

AVIFileGetStream function

-description

The AVIFileGetStream function returns the address of a stream interface that is associated with a specified AVI file.

-parameters

-param pfile

Handle to an open AVI file.

-param ppavi

Pointer to the new stream interface.

-param fccType

Four-character code indicating the type of stream to open. Zero indicates any stream can be opened. The following definitions apply to the data commonly found in AVI streams.

Value Description
streamtypeAUDIO Indicates an audio stream.
streamtypeMIDI Indicates a MIDI stream.
streamtypeTEXT Indicates a text stream.
streamtypeVIDEO Indicates a video stream.

-param lParam

Count of the stream type. Identifies which occurrence of the specified stream type to access.

-returns

Returns zero if successful or an error otherwise. Possible error values include the following.

Return code Description
AVIERR_NODATA
The file does not contain a stream corresponding to the values of fccType and lParam.
AVIERR_MEMORY
Not enough memory.

-remarks

The argument pfile is a pointer to an IAVIFile interface. The argument ppavi is a pointer to an IAVIStream interface.

-see-also

AVIFile Functions

AVIFile Functions and Macros