Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRDP/GdiTest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'GdiTest/Win32GDI.cs')
-rw-r--r--GdiTest/Win32GDI.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/GdiTest/Win32GDI.cs b/GdiTest/Win32GDI.cs
index 0fd19c4..389e48e 100644
--- a/GdiTest/Win32GDI.cs
+++ b/GdiTest/Win32GDI.cs
@@ -27,7 +27,7 @@ namespace GdiTest
public static extern uint GetPixel(IntPtr hdc, int X, int Y);
[DllImport("gdi32.dll")]
- public static extern uint SetPixel(IntPtr hdc, int X, int Y, int crColor);
+ public static extern uint SetPixel(IntPtr hdc, int X, int Y, uint crColor);
[DllImport("gdi32")]
public static extern bool MoveToEx(IntPtr hdc, int X, int Y, IntPtr lpPoint);
@@ -124,7 +124,7 @@ namespace GdiTest
return 0;
}
- public override uint SetPixel(IntPtr hdc, int X, int Y, int crColor)
+ public override uint SetPixel(IntPtr hdc, int X, int Y, uint crColor)
{
if (available)
return Callbacks.SetPixel(hdc, X, Y, crColor);