AVIFileCreateStream
The AVIFileCreateStream
function creates a new stream in an existing file and creates an interface to
the new stream.
STDAPI AVIFileCreateStream(
PAVIFILE pfile, |
|
PAVISTREAM
* ppavi, |
|
AVISTREAMINFO * psi |
|
); |
|
Parameters
pfile
Handle of an
open AVI file.
ppavi
Address of
the new stream interface.
psi
Address of a
structure containing information about the new stream, including the stream
type and its sample rate.
Return Values
Returns zero
if successful or an error otherwise. Unless the file has been opened with write
permission, this function returns AVIERR_READONLY.
Remarks
This function
starts a reference count for the new stream.