CreateHatchBrush function Null safety gdi32
The CreateHatchBrush function creates a logical brush that has the specified hatch pattern and color.
HBRUSH CreateHatchBrush(
int iHatch,
COLORREF color
);
Implementation
int CreateHatchBrush(int iHatch, int color) {
final _CreateHatchBrush = _gdi32.lookupFunction<
IntPtr Function(Int32 iHatch, Int32 color),
int Function(int iHatch, int color)>('CreateHatchBrush');
return _CreateHatchBrush(iHatch, color);
}