[DllImport("avifil32.dll", SetLastError=true)]
public static extern int AVIFileOpenW(ref int ppfile, [MarshalAs(UnmanagedType.LPWStr)]string szFile, int uMode, int lpHandler);
Declare Shared Function AVIFileOpenW Lib "avifil32.dll" (TODO)
None.
Test
The signature is not correct. Instead use AviFileOpen together with CharSet = CharSet.Auto.
See http://www.adp-gmbh.ch/csharp/avi/write_avi.html
Do you know one? Please contribute it!