Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
System resource of the computers are under the control of operating system. To access and to do something on this resources Operating sytems have built in functions . for example to open a file on harddisk or open communication on serila ports . api are group of functions on the top pf OS to access and programm resources.
Hi,
the meaning of API is pretty clear from the above replies, so WinAPI is Windows OS API's i,e the functions exposed by Windows OS to application programs, using these functions you can read files, write files and perform a lot of operations that require your application program to interact with the OS.
In Windows, you have the API grouped into sections such as the api's related to files,console's, drawing etc.....,
so depending on which api you want to use and purpose, you can look up that api in msdn and include the appropriate header file and if required its lib file and call the function(API) in your application and have the desired job achieved.
There are 3 important kernel module on win os.
kernel32.dll
user32.dll
gdi32.dll
Wanna use functions provided by these dll???
If yes! Use Win32 API to access.
How to use those API functions?
1.Charles Petzold,Programming Windows 5e
2.Jeffrey Ritcher,Programming Applications for Microsoft Windows 4e
3.MSDN
The Windows API (also refered to as Win32 API) is C-based. There are other libraries such as MFC which are a C++ abstraction layer for the API.
A good tutorial introduction to the API is at w ww.winprog.net/tutorial/
The main entry point to the API is the #include <windows.h>, there are other header files too but the majority of API functions can be accessed through windows.h
To download the API all you need to get is the Platform SDK w ww.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm
You will also need a C/C++ compiler to use the headers and libraries, I'd recommend the free Visual C++ 2003 Toolkit at msdn.microsoft.com/visualc/vctoolkit2003/
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.