CreatePen function gdi32
The CreatePen function creates a logical pen that has the specified style, width, and color. The pen can subsequently be selected into a device context and used to draw lines and curves.
HPEN CreatePen(
int iStyle,
int cWidth,
COLORREF color
);
Implementation
int CreatePen(int iStyle, int cWidth, int color) =>
_CreatePen(iStyle, cWidth, color);