#include <windows.h>. Most of the API calls are declared in that file. Then it's just a matter of calling the right function and sending the right arguments. Make sure that you link any libraries into your project that are not linked in by default. For example, if you want to use the DirectDraw API, you #include <ddraw.h> and you link ddraw.lib into your project because it will not be included by default. Go to this link for a complete win32 API reference...
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.