To draw on screen like this, you must ask the operating system to do it for you.
The WIN32 API is the set of functions and classes and other such that are the means by which you ask the Windows operating system to do it. You can use the Win32 API directly yourself, or you can use a different set of tools (usually known as a widget toolkit) which handles the Win32 API stuff for you.