Science  People  Locations  Timeline
Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Home > Windows API


Windows API is a set of APIs, ( application programming interfaces) available in the Microsoft Windows operating systems. A Windows SDK is available, and provides documentation and tools to better enable developers to create software using the Windows API and associated Windows technologies.

Win16 was the first, 16-bit version of these APIs.

Win32 is the 32-bit API for modern versions of Microsoft Windows. The API consists of C functions implemented in dynamically linked libraries (DLLs), mainly in core DLLs: kernel32.dll , user32.dll and gdi32.dll . Although Microsoft's implementation of the Windows API is copyrighted, it is generally accepted that other vendors can emulate Windows by providing an identical API, without breaching copyright.

Win64 is the 64-bit extension of Win32.

To develop software for the Windows API, a compiler that can handle the Microsoft-specific DLLs and COM-objects is needed, along with a number of so-called header files which define the interfaces of the DLLs. For a long time the proprietary Microsoft Visual Studio family of compilers and tools and Borland's compilers were the only tools that could do this. Nowadays the MinGW and Cygwin projects also provide such an environment based on the GNU Compiler Collection.

The Windows API was originally designed to be object oriented, but computers at the time were limited in power and many new APIs and enhancements have been introduced, leading to the loss of some object-oriented aspects. In some ways it is a low-level interface, so many programmers prefer to use the MFC ( Microsoft Foundation ClassesMicrosoft Foundation Classes or MFC is a Microsoft library that wraps portions of the Windows API in C++ classes, forming an application framework. Classes are defined for many of the handle-managed Windows objects and also for predefined windows and comm) and other class libraries such as Borland's OWL ( Object Windows LibraryThe Object Windows Library (OWL) was a Borland library, which was an object-oriented wrapper around the Win16 API. It was used in Turbo Pascal for Windows, Borland Pascal and their C++ package. It was deprecated in favour of Visual Component Library (VCL)) for a more high-level approach. The recently introduced .NET libraries, commonly described as a replacement for calling the Windows API, are a wrapper around the Win32 API to provide object-oriented functionality and operating system abstraction.

Among other things, the Windows API contains the graphical widget toolkitIn computer programming, widget toolkits (or GUI toolkits are sets of basic building elements for graphical user interfaces. They are often implemented as a library, or application framework. See widget (computing) for a list of widgets. Popular Widget To used in different Windows versions.

The WINEWine is a project to allow a PC running a Unix-like operating system to run x86 programs that utilise the Microsoft Windows API. Alternately, those wishing to port a Windows application to a Unix-like system can compile it against the Wine libraries. project is an attempt to provide this API set for UNIX-like platforms.

Among common API functions are:

WinFX is the next version of the Windows API, based around the new technologies to be introduced in the next version of Windows, codenamed Longhorn. The graphical widget toolkit for WinFX is called Avalon and requires modern graphic cards with hardware support for rendering.

See also: DirectX, component object model, .NET, Win32 console



Read more »

Non User