Application Programming Interface is a set of commands, which interfaces the programs with the processors. the most commonly used set of external procedures are those that make up Microsoft Windows itself. the Windows API contains thousands of functions, structures, and constants that you can declare and use in your projects. those functions are written in the C language, however, so they must be declared before you can use them. the declarations for DLL procedures can become fairly complex. specifically to C # It is more complex than VB. you can use API Viewer tool to get API function declaration but you have to keep in mind the type of parameter which is different in C #. API (Application Programming Interface) isProgramThe command set that interfaces with the processor. The most common method is to call Microsoft Windows internal processes externally. Windows APIs include thousands of functions, structures, and constants that you can use. These functions are written in C language. You must declare them before using them. Defining a DLL process can be quite complex, or even more complex than VB. You can use the API Viewer tool to get the declaration of API functions, but it must be noted that its parameter type is different from that of C. Most of the advanced programming ages support API programming. the Microsoft Foundation Class Library (MFC) Framework encapsulates a large portion of the Win32 (API ). odbc api functions are useful for faster Ming fast operations on database. with API your application can request lower-level services to perform on computer's operating system. as API supports thousands of functionality from simple message box to encryption or Remote Computing, developers shoshould know how to implement API in their program. Most advanced Languages Support APIs. Microsoft function library (MFC) encapsulates most Win32 APIs. ODBC APIs greatly improve the database operation speed. By using APIs, you can request more underlying system services. APIs are supported from simple dialogs to complex encryption operations. Developers should know how to use APIs in their programs API has polictypes depending on OS, processor and functionality. There are many types of APIS (for different operating systems, processors ............) OS specific API: Operating System-specific APIs: Each operating system has common set of API's and some special e.g. windows NT supports MS-DOS, Win16, Win32, POSIX (Portable Operating System Interface), OS/2 console API and Windows 95 supports MS-DOS, Win16 and Win32 APIs, Each operating system has a set of public APIs and proprietary APIs. For example: Windows NT supports MS-DOS, Win16, Win32, POSIX (Portable Operating System Interface), OS/2 console API; While Windows 95 supports MS-DOS, Win16 and Win32 API. Win16 and Win32 APIs: Win16 is an API created for 16-bit processor and relies on 16 bit values. It has platform independent nature e.g. You can tie Win16 programs to MS-DOS feature like TSR programs. Win16 is a 16-bit processor that uses a 16-bit value. It is an independent platform. For example, you can run a TSR program in a MS-DOS environment. Win32 is an API created for 32-bit processor and relies on 32 bit values. It is portable to any operating system, wide range of processors and platform independent nature. Win32 is a 32-bit processor and uses a 32-bit value. It can be used in any operating system and is widely used. Win32 API has 32 prefix after the library name e.g. Kernel32, USER32 etc? Win32 api dll generally has a 32 suffix, such as Kernel32 and USER32. All APIs are implemented using 3 libraries. All APIs are implemented in the following three DLL files.
|