コード例 #1
0
ファイル: AVI.cs プロジェクト: shivakrishna-k/pinvoke
 internal static extern int AVIStreamWrite(IntPtr aviStream, Int32 lStart, Int32 lSamples, IntPtr lpBuffer,
     Int32 cbBuffer, AviIndexEntry dwFlags, Int32 dummy1, Int32 dummy2);
コード例 #2
0
 internal static extern int AVIStreamWrite(IntPtr aviStream, Int32 lStart, Int32 lSamples, IntPtr lpBuffer,
                                           Int32 cbBuffer, AviIndexEntry dwFlags, Int32 dummy1, Int32 dummy2);
コード例 #3
0
ファイル: AVI.cs プロジェクト: shivakrishna-k/pinvoke
 /// <summary>
 /// The AVIStreamWrite function writes data to a stream.
 /// </summary>
 /// <param name="aviStream">Handle to an open stream.</param>
 /// <param name="lStart">First sample to write.</param>
 /// <param name="lSamples">Number of samples to write.</param>
 /// <param name="lpBuffer">Pointer to a buffer containing the data to write.</param>
 /// <param name="cbBuffer">Size of the buffer referenced by lpBuffer.</param>
 /// <param name="dwFlags"></param>
 /// <param name="dummy1">Pointer to a buffer that receives the number of samples written. This can be set to null.</param>
 /// <param name="dummy2">Pointer to a buffer that receives the number of bytes written. This can be set to null.</param>
 /// <returns>Returns zero if successful or an error otherwise. </returns>
 /// <remarks>The default AVI file handler supports writing only at the end of a stream. 
 /// The "WAVE" file handler supports writing anywhere. This function overwrites existing data, 
 /// rather than inserting new data. The argument pavi is a pointer to an IAVIStream interface.</remarks>
 public static int AVIStreamWrite(IntPtr aviStream, Int32 lStart, Int32 lSamples, IntPtr lpBuffer, Int32 cbBuffer,
     AviIndexEntry dwFlags, Int32 dummy1, Int32 dummy2)
 {
     return Native.AVIStreamWrite(aviStream, lStart, lSamples, lpBuffer, cbBuffer, dwFlags, dummy1, dummy2);
 }
コード例 #4
0
 /// <summary>
 /// The AVIStreamWrite function writes data to a stream.
 /// </summary>
 /// <param name="aviStream">Handle to an open stream.</param>
 /// <param name="lStart">First sample to write.</param>
 /// <param name="lSamples">Number of samples to write.</param>
 /// <param name="lpBuffer">Pointer to a buffer containing the data to write.</param>
 /// <param name="cbBuffer">Size of the buffer referenced by lpBuffer.</param>
 /// <param name="dwFlags"></param>
 /// <param name="dummy1">Pointer to a buffer that receives the number of samples written. This can be set to null.</param>
 /// <param name="dummy2">Pointer to a buffer that receives the number of bytes written. This can be set to null.</param>
 /// <returns>Returns zero if successful or an error otherwise. </returns>
 /// <remarks>The default AVI file handler supports writing only at the end of a stream.
 /// The "WAVE" file handler supports writing anywhere. This function overwrites existing data,
 /// rather than inserting new data. The argument pavi is a pointer to an IAVIStream interface.</remarks>
 public static int AVIStreamWrite(IntPtr aviStream, Int32 lStart, Int32 lSamples, IntPtr lpBuffer, Int32 cbBuffer,
                                  AviIndexEntry dwFlags, Int32 dummy1, Int32 dummy2)
 {
     return(Native.AVIStreamWrite(aviStream, lStart, lSamples, lpBuffer, cbBuffer, dwFlags, dummy1, dummy2));
 }