I'm trying to port a great Windows Forms program to Linux and get this error:
System.EntryPointNotFoundException: GetUpdateRect
at (wrapper managed-to-native)
CDBurnerXP.Controls.NativeMethods:GetUpdateRectInternal
(intptr,System.Drawing.Rectangle&,bool)
at CDBurnerXP.Controls.NativeMethods.GetUpdateRect
(System.Windows.Forms.Control cntl) [0x0000f] in
<ce4ca0f630654e4c8c1f96509f1eae82>:0
Is there a way to support C# calls to
NativeMethods:GetUpdateRect noon Mono on Lubuntu 16.04.1?
Edit:
Thanks, knocte, for your comment. This edit is to quote the bit of code that tries to reference this function (because comments don't allow any formatting):
[DllImport("user32.dll", EntryPoint = "GetUpdateRect", CharSet = CharSet.Auto)]
private static extern IntPtr GetUpdateRectInternal(IntPtr hWnd, ref Rectangle r, bool eraseBackground);