Пример #1
0
 /// <summary>
 /// The AVIFileCreateStream function creates a new stream in an existing
 /// file and creates an interface to the new stream.
 /// </summary>
 /// <param name="pfile">Handle to an open AVI file.</param>
 /// <param name="ppavi">Pointer to the new stream interface.</param>
 /// <param name="streaminfo">Pointer to a structure containing information
 /// about the new stream, including the stream type and its sample rate.</param>
 /// <returns>Returns zero if successful or an error otherwise.
 /// Unless the file has been opened with write permission, this function returns AVIERR_READONLY.</returns>
 /// <remarks>
 /// This function starts a reference count for the new stream.
 /// </remarks>
 public static AviError AVIFileCreateStream(int pfile, out IntPtr ppavi, ref AVIStreamInfo streaminfo)
 {
     return(Native.AVIFileCreateStream(pfile, out ppavi, ref streaminfo));
 }