For most task-oriented information about general programming for Windows (as opposed to MFC programming for Windows), see the Win32 SDK documentation. The article Win32 Topics in this documentation contains links to many of the most important programming topics in the Win32 SDK documentation.
A few tasks are covered here instead.