[DllImport("msi.dll", CharSet = CharSet.Auto)] public static extern int MsiOpenDatabase( [MarshalAs(UnmanagedType.LPTStr)] string szDatabasePath, IntPtr phPersist, out IntPtr phDatabase );
Microsoft documentation: Link
Last updated 1 year ago