IAVIFile::CreateStream method
The CreateStream method creates a stream for writing. Called when an application uses the AVIFileCreateStream function.
Syntax
HRESULT CreateStream( PAVIFILE pf, PAVISTREAM *ppstream, AVISTREAMINFO *psi );
Parameters
- pf
-
Pointer to the interface to a file.
- ppstream
-
Pointer to a buffer that receives a pointer to the interface to the new stream.
- psi
-
Pointer to an AVISTREAMINFO structure defining the stream to create.
Return value
Returns HRESULT defined by OLE.
Remarks
For handlers written in C++, CreateStream has the following syntax:
HRESULT CreateStream(PAVISTREAM *ppstream,
AVISTREAMINFO *psi);
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
See also
Build date: 10/27/2012
