Borland(r) Delphi 6 Developer's Guide is a new edition of the #1 best-selling Delphi book by authors Steve Teixeira and Xavier Pacheco. Steve and Xavier are of the winners of the Delphi Informant Reader's Choice Award for both Delphi 4 Developer's Guide and Delphi 5 Developer's Guide.
The Windows API, informally WinAPI, is Microsoft's core set of (APIs) available in the operating systems. The name Windows API collectively refers to several different platform implementations that are often referred to by their own names (for example, Win32 API); see the section. Almost all Windows programs interact with the Windows API. On the Windows NT line of operating systems, a small number (such as programs started early in the ) use the.Developer support is available in the form of a, providing documentation and tools needed to build software based on the Windows API and associated Windows interfaces.The Windows API (Win32) is focused mainly on the programming language in that its exposed functions and data structures are described in that language in recent versions of its documentation. However, the API may be used by any programming language or able to handle the (well-defined) low-level data structures along with the prescribed for calls. Similarly, the internal implementation of the API's function has been developed in several languages, historically.
Despite the fact that C is not an language, the Windows API and Windows have both historically been described as object-oriented. There have also been many wrapper classes and extensions (from Microsoft and others) for object-oriented languages that make this object-oriented structure more explicit ( (MFC), (VCL), etc.). For instance, provides the Windows API and the API, which is implemented in and is object-oriented by design. Contents.Overview The functions provided by the Windows API can be grouped into eight categories: Base Services Provide access to the basic resources available to a Windows system. Included are things like,. These functions reside in kernel.exe, krnl286.exe or krnl386.exe files on 16-bit Windows, and KernelBase.dll on 32 and 64 bit Windows.
These files reside in the folder 'System32' which is in the 'Windows' directory on 64 bit Windows, and the 'Windows' directory on 16 bit versions of Windows Advanced Services Provide access to functions beyond the kernel. Included are things like the, shutdown/restart the system (or abort), start/stop/create a, manage user accounts. These functions reside in advapi32.dll and advapires32.dll on 32-bit Windows.
Graphics Device Interface Provides functions to output graphics content to, and other. It resides in gdi.exe on 16-bit Windows, and on 32-bit Windows in user-mode. Kernel-mode GDI support is provided by win32k.sys which communicates directly with the graphics driver. Provides the functions to create and manage screen and most basic controls, such as and, receive mouse and keyboard input, and other functions associated with the (GUI) part of Windows. This functional unit resides in user.exe on 16-bit Windows, and on 32-bit Windows. Since versions, the basic controls reside in comctl32.dll, together with the common controls (Common Control Library).
Common Dialog Box Library Provides applications the standard to open and save files, choose color and font, etc. The library resides in a file called commdlg.dll on 16-bit Windows, and comdlg32.dll on 32-bit Windows.
It is grouped under the User Interface category of the API. Common Control Library Gives applications access to some advanced controls provided by the operating system. These include things like,. The library resides in a (DLL) file called commctrl.dll on 16-bit Windows, and comctl32.dll on 32-bit Windows. It is grouped under the User Interface category of the API. Windows Shell Component of the Windows API allows applications to access functions provided by the, and to change and enhance it.
The component resides in shell.dll on 16-bit Windows, and shell32.dll on 32-bit Windows. The Shell Lightweight Utility Functions are in shlwapi.dll. It is grouped under the User Interface category of the API. Network Services Give access to the various abilities of the operating system. Its subcomponents include, (RPC) and many more.
This component resides in netapi32.dll on 32-bit Windows. Web The (IE) web browser also exposes many APIs that are often used by applications, and as such could be considered a part of the Windows API. IE has been included with the operating system since and has provided web-related services to applications since. Specifically, it is used to provide:.
An embeddable web browser control, contained in shdocvw.dll and. The URL moniker service, held in urlmon.dll, which provides COM objects to applications for resolving URLs. Applications can also provide their own URL handlers for others to use. An HTTP client library which also takes into account system-wide Proxy settings (wininet.dll); however, Microsoft has added another HTTP client library called winhttp.dll which is smaller and more suitable for some applications.
A library to assist multi-language and international text support (mlang.dll). DirectX Transforms, a set of image filter components. XML support (the MSXML components, held in msxml.dll). Access to the Windows Address Books.Multimedia. This section does not any. Unsourced material may be challenged. (November 2006).
Retrieved December 24, 2008. Msdn.microsoft.com. Both the languages and had been heavily used in earlier versions of the Windows API, before C became dominant. A reminiscence of this is that the API functions still use the to restore the stack from pushed parameters after a call (although they expect parameters pushed from right to left, as most C compilers do, by default). ^ Mayberry, Michael (2012).
WinRT Revealed. New York City: Apress. P. 3. ^ (July 2005). Retrieved August 28, 2005. (July 2005).
Retrieved August 28, 2005. (July 2005). Retrieved August 28, 2005. Retrieved 2009-01-28. (July 2005). Retrieved August 28, 2005.
(2005). Retrieved September 22, 2005. (July 2005). Retrieved August 28, 2005.
(July 2005). Retrieved August 28, 2005.
(2005). Retrieved August 28, 2005. (July 2005). Retrieved August 28, 2005. (January 2006); Retrieved January 22, 2006. Texeira, Steve and Xavier Pacheco (2002).
P. 253. (December 2001). Programming Microsoft Windows with C#. Microsoft Press. Beyond the Console, page 47. Retrieved September 08, 2016. (November 11, 1998).
Programming Windows, Fifth Edition. Microsoft Press. APIs and Memory Models, page 9.
(October 15, 2003). Retrieved August 27, 2005.
The Iseran Project (1996–2001). Retrieved October 7, 2005. Nomenclature of released 64-bit versions includes and x64 Editions of Windows Server 2003, Windows Vista and Windows Server 2008 on the x86-64 (AMD64) platform, and Server Limited Edition, Windows Advanced Server 2003 for and Windows 2008 Advanced Server for on the platform. Microsoft. 2008-03-30 at theReferences.External links Wikibooks has a book on the topic of:.
– standard for a subset of the Windows API.