[DllImport("Avifil32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.U4)] public static extern uint AVIFileOpenW( ref IntPtr ppfile, [MarshalAs(UnmanagedType.LPWStr)] string szFile, uint uMode, IntPtr lpHandler );
Microsoft documentation: Link
Last updated 1 year ago