CreatePenLibrary: GDI32Min. Required OS: Windows NT 3.1 or later; Windows 95 or laterGroup: GraphicalDescription: 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.Example(s): Draw HotchpotchRelated function(s):CreateSolidBrushCreateHatchBrushCreatePenIndirect