[DllImport("avifil32.dll")]
public static extern int AVIFileInfo(IntPtr pfile, ref AVIFILEINFO pfi, int lSize);
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;
}
<DllImport("avifil32.dll")> _
Public Shared Function AVIFileInfo(ByVal pfile As IntPtr,
ByRef pfi As AVIFILEINFO,
ByVal lSize As Integer) As Integer
End Function
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
Do you know one? Please contribute it!
None.
Please add some!
Please add some!