mirror of https://github.com/dahall/Vanara.git
Corrected build error with FloodFill function and enum. #65
parent
93225d0676
commit
5d7c2a57e4
|
@ -32,7 +32,7 @@ namespace Vanara.PInvoke
|
||||||
|
|
||||||
/// <summary>The type of fill operation to be performed.</summary>
|
/// <summary>The type of fill operation to be performed.</summary>
|
||||||
[PInvokeData("wingdi.h", MSDNShortId = "b996d47d-5aaf-4b13-8643-209744e5a04b")]
|
[PInvokeData("wingdi.h", MSDNShortId = "b996d47d-5aaf-4b13-8643-209744e5a04b")]
|
||||||
public enum FloodFill : uint
|
public enum FloodFillType : uint
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The fill area is bounded by the color specified by the crColor parameter. This style is identical to the filling performed by
|
/// 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)]
|
[DllImport(Lib.Gdi32, SetLastError = false, ExactSpelling = true)]
|
||||||
[PInvokeData("wingdi.h", MSDNShortId = "b996d47d-5aaf-4b13-8643-209744e5a04b")]
|
[PInvokeData("wingdi.h", MSDNShortId = "b996d47d-5aaf-4b13-8643-209744e5a04b")]
|
||||||
[return: MarshalAs(UnmanagedType.Bool)]
|
[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);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>
|
/// <para>
|
||||||
|
|
Loading…
Reference in New Issue