Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

AVIInfo (avifil32)
 
.
Summary
TODO - a short description

C# Signature:

TODO

VB Signature:

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

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

C# AVIFILEINFO structure:

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

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;

}

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

VB Signature:

Tips & Tricks:

Please add some!

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

Sample Code:

Please add some!

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

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions