What CPU Register Uses Windows API Functions ?
The Central Processing Unit or the CPU has many registers within it. There are many different CPU Registers which perform specific or general functions which help in the working of the CPU. Program Counter or PC, Instruction Decoder, Instruction Register or IR, Process Status Register and Accumulator or ACC are some of these registers.
These registers use programming interfaces and this is where Windows API Functions come into use. Windows API is also called WinAPI, developed by Microsoft, are nothing but Application Programming Interfaces. It was earlier called Win32 API. Windows API can be classified into eight types. These are: Base Services, Advanced Services, Graphics Device Interface, User Interface, Common Dialog Box Library, Common Control Library, Windows Shell and Network Services.
Base Services provide access to resources in a Windows system, such as file systems, devices, processes and threads, and error handling. In 16-bit Windows they are present in kernel.exe, krnl286.exe or krnl386.exe files. In 32-bit Windows, they are present in kernel32.dll. Advanced Services is associated with functionalities apart from kernel. They provide access to Windows registry, shutdown/restart, start/stop a Windows operation. These functions are present in advapi32.dll on 32-bit Windows.
Graphics Device Interface allows functionality to allow the output function of graphical content to monitors, printers and the other output devices that are present. It is present in gdi.exe.
Each new edition of Windows has brought with it new changes in the API. The Windows API family was earlier called Win32 API family. That made it more common.
More Articles :