Fix wrong return type in P/Invokes.

This commit is contained in:
J.D. Purcell 2019-11-02 00:22:40 -04:00
parent ba9d5f7a4a
commit 17701dc57d
1 changed files with 3 additions and 3 deletions

View File

@ -278,16 +278,16 @@ namespace BizHawk.Client.EmuHawk.CustomControls
private static extern IntPtr CreateSolidBrush(int color);
[DllImport("gdi32.dll")]
private static extern IntPtr MoveToEx(IntPtr hdc, int x, int y, IntPtr point);
private static extern uint MoveToEx(IntPtr hdc, int x, int y, IntPtr point);
[DllImport("gdi32.dll")]
private static extern IntPtr LineTo(IntPtr hdc, int nXEnd, int nYEnd);
private static extern uint LineTo(IntPtr hdc, int nXEnd, int nYEnd);
[DllImport("gdi32.dll")]
private static extern IntPtr GetStockObject(int fnObject);
[DllImport("gdi32.dll")]
private static extern IntPtr SetDCPenColor(IntPtr hdc, int crColor);
private static extern uint SetDCPenColor(IntPtr hdc, int crColor);
[DllImport("gdi32.dll")]
private static extern IntPtr CreateCompatibleDC(IntPtr hdc);