AVIFileOpen

[DllImport("Avifil32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.U4)]
public static extern uint AVIFileOpen(
   ref IntPtr ppfile,
   string szFile,
   uint uMode,
   IntPtr lpHandler
);

Microsoft documentation: Link

Last updated