CreateSolidBrush function Null safety gdi32

int CreateSolidBrush(
  1. int color
)

The CreateSolidBrush function creates a logical brush that has the specified solid color.

HBRUSH CreateSolidBrush(
  COLORREF color
);

Implementation

int CreateSolidBrush(int color) => _CreateSolidBrush(color);