An example of practical API calls within the WinAPI for gaming