src/Foundation/Media/Gimela.Media.Video.VFW/Win32.cs
/// <summary>
/// Write data to a stream.
/// </summary>
/// 
/// <param name="streamHandler">Handle to an open stream.</param>
/// <param name="start">First sample to write.</param>
/// <param name="samples">Number of samples to write.</param>
/// <param name="buffer">Pointer to a buffer containing the data to write. </param>
/// <param name="bufferSize">Size of the buffer referenced by <b>buffer</b>.</param>
/// <param name="flags">Flag associated with this data.</param>
/// <param name="samplesWritten">Pointer to a buffer that receives the number of samples written. This can be set to NULL.</param>
/// <param name="bytesWritten">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>
/// 
Write data to a stream.
Write data to a stream .
[DllImport("avifil32.dll")]
    public static extern int AVIStreamWrite(
        IntPtr streamHandler,
        int start,
        int samples,
        IntPtr buffer,
        int bufferSize,
        int flags,
        IntPtr samplesWritten,
        IntPtr bytesWritten);
[ DllImport ( " " ) ] public static extern int AVIStreamWrite ( IntPtr streamHandler , int start , int samples , IntPtr buffer , int bufferSize , int flags , IntPtr samplesWritten , IntPtr bytesWritten ) ;
Write data to a stream.
Write data to a stream .
Returns zero if successful or an error otherwise.
Returns zero if successful or an error otherwise .
streamHandler
IntPtr
Handle to an open stream.
Handle to an open stream .
start
int
First sample to write.
First sample to write .
samples
int
Number of samples to write.
Number of samples to write .
buffer
IntPtr
Pointer to a buffer containing the data to write.
Pointer to a buffer containing the data to write .
bufferSize
int
Size of the buffer referenced by buffer
Size of the buffer referenced by buffer
flags
int
Flag associated with this data.
Flag associated with this data .
samplesWritten
IntPtr
Pointer to a buffer that receives the number of samples written. This can be set to NULL.
Pointer to a buffer that receives the number of samples written . This can be set to NULL .
bytesWritten
IntPtr
Pointer to a buffer that receives the number of bytes written. This can be set to NULL.
Pointer to a buffer that receives the number of bytes written . This can be set to NULL .