src/Foundation/Media/Gimela.Media.Video.VFW/Win32.cs
/// <summary>
/// Set the format of a stream at the specified position.
/// </summary>
/// 
/// <param name="streamHandler">Handle to an open stream.</param>
/// <param name="position">Position in the stream to receive the format.</param>
/// <param name="format">Pointer to a structure containing the new format.</param>
/// <param name="formatSize">Size, in bytes, of the block of memory referenced by <b>format</b>.</param>
/// 
/// <returns>Returns zero if successful or an error otherwise.</returns>
/// 
Set the format of a stream at the specified position.
Set the format of a stream at the specified position .
[DllImport("avifil32.dll")]
    public static extern int AVIStreamSetFormat(
        IntPtr streamHandler,
        int position,
        ref BITMAPINFOHEADER format,
        int formatSize);
[ DllImport ( " " ) ] public static extern int AVIStreamSetFormat ( IntPtr streamHandler , int position , ref BITMAPINFOHEADER format , int formatSize ) ;
Set the format of a stream at the specified position.
Set the format of a stream at the specified position .
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 .
position
int
Position in the stream to receive the format.
Position in the stream to receive the format .
BITMAPINFOHEADER
ref
formatSize
int
Size, in bytes, of the block of memory referenced by

format
Size in bytes of the block of memory referenced by format
format
Pointer to a structure containing the new format.
Pointer to a structure containing the new format .