AVIStreamCreate function (vfw.h)
The AVIStreamCreate function creates a stream not associated with any file.
Syntax
HRESULT AVIStreamCreate(
PAVISTREAM *ppavi,
LONG lParam1,
LONG lParam2,
CLSID *pclsidHandler
);
Parameters
ppavi
Pointer to a buffer that receives the new stream interface.
lParam1
Stream-handler specific information.
lParam2
Stream-handler specific information.
pclsidHandler
Pointer to the class identifier used for the stream.
Return value
Returns zero if successful or an error otherwise.
Remarks
You should not need to call this function. Some functions, such as CreateEditableStream and AVIMakeCompressedStream, use it internally.
The argument ppavi contains 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 |