From 5d7c2a57e45f550c51aaa23369e79701712644ce Mon Sep 17 00:00:00 2001 From: David Hall Date: Wed, 2 Oct 2019 08:27:31 -0600 Subject: [PATCH] Corrected build error with FloodFill function and enum. #65 --- PInvoke/Gdi32/WinGdi.Bitmap.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PInvoke/Gdi32/WinGdi.Bitmap.cs b/PInvoke/Gdi32/WinGdi.Bitmap.cs index b0296bdd..a66ac681 100644 --- a/PInvoke/Gdi32/WinGdi.Bitmap.cs +++ b/PInvoke/Gdi32/WinGdi.Bitmap.cs @@ -32,7 +32,7 @@ namespace Vanara.PInvoke /// The type of fill operation to be performed. [PInvokeData("wingdi.h", MSDNShortId = "b996d47d-5aaf-4b13-8643-209744e5a04b")] - public enum FloodFill : uint + public enum FloodFillType : uint { /// /// The fill area is bounded by the color specified by the crColor parameter. This style is identical to the filling performed by @@ -792,7 +792,7 @@ namespace Vanara.PInvoke [DllImport(Lib.Gdi32, SetLastError = false, ExactSpelling = true)] [PInvokeData("wingdi.h", MSDNShortId = "b996d47d-5aaf-4b13-8643-209744e5a04b")] [return: MarshalAs(UnmanagedType.Bool)] - public static extern bool ExtFloodFill(HDC hdc, int x, int y, COLORREF color, FloodFill type); + public static extern bool ExtFloodFill(HDC hdc, int x, int y, COLORREF color, FloodFillType type); /// ///