AVIInfo (avifil32)
Last changed: -82.233.47.168

.
Summary
TODO - a short description

C# Signature:

    [DllImport("avifil32.dll")]
     public static extern int AVIFileInfo(IntPtr pfile, ref AVIFILEINFO pfi, int lSize);

C# AVIFILEINFO structure:

public struct AVIFILEINFO

{

    public Int32 dwMaxBytesPerSecond;
    public Int32 dwFlags;
    public Int32 dwCaps;
    public Int32 dwStreams;
    public Int32 dwSuggestedBufferSize;
    public Int32 dwWidth;
    public Int32 dwHeight;
    public Int32 dwScale;
    public Int32 dwRate;
    public Int32 dwLength;
    public Int32 dwEditCount;
    [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 64)]
    public string szFileType;

}

VB Signature:

  <DllImport("avifil32.dll")> _
    Public Shared Function AVIFileInfo(ByVal pfile As IntPtr,
                       ByRef pfi As AVIFILEINFO,
                       ByVal lSize As Integer) As Integer
    End Function

VB AVIFILEINFO structure:

    Public Structure AVIFILEINFO
    Public dwMaxBytesPerSecond As Int32
    Public dwFlags As Int32
    Public dwCaps As Int32
    Public dwStreams As Int32
    Public dwSuggestedBufferSize As Int32
    Public dwWidth As Int32
    Public dwHeight As Int32
    Public dwScale As Int32
    Public dwRate As Int32
    Public dwLength As Int32
    Public dwEditCount As Int32
    <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=64)> Public szFileType As String
    end structure

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation
AVIInfo on MSDN