
2
Windows Programming
Fundamentals
2.1 Windows Programming Fundamentals
In this chapter, we will be using the Windows application programming interfaces (API)
to write our programs. e Windows API is also referred to as WinAPI and formerly was
called the Win32 API or just the Win32. e Windows API provides access to many of the
inner workings of Windows. In order for our game to coexist peacefully in a Windows en-
vironment, it is important to understand the information presented in this chapter.
2.2 “Hello World” Windows Style
OK, enough talking! It’s time to write some code. Let’s
write a program that displays “Hello World” in the title
bar of ...