I found this very old but still good article about how to use the Windows API.

These are the subjects:

  1. Part I: The Primer
  2. Windows API calls are just calls to dynamic link libraries
  3. Loading a dynamic link library
  4. Dynamic loading at runtime
  5. Resource only dynamic link libraries
  6. Stack usage and dynamic link libraries
  7. Callback functions
  8. The Hook functions
  9. Data storage in dynamic link libraries
  10. Instanced addresses and thunking
  11. Part II: Getting our hands dirty