Before we dive into the examples of using specific API functions, let’s go over the fundamental concepts. The Win 32 API consists of functions, structures, and messages that can be accessed to build Windows 95/98 and Windows NT applications. The four functional categories of the Windows API are: Windows Management (User) Graphics Device Interface (GDI) System Services…