Power of forgotten WinAPI

I recently revisited a good old friend called WinAPI. I think it was 2008 when i previously worked with WinAPI. It's not that long, but I think it was forgotten earlier than that...

There are good reasons to avoid WinAPI, but there are also good reasons to use it. Its a valuable tool in our toolbox.

Why we have forgotten WinAPI?

Development has moved from PC's into hand held devices and web. We don't anymore try to invent a really cool app for PC. Its all about iOS, Android and Web. We cannot use WinAPI in iOS or Android, so it's not that necessary tool anymore and things you don't use often tend to forget.

Whats so cool about it then?

WinAPI exposes some neat features that aren't possible to achieve with other tools. It allows developers to listen keyboard inputs, command other processes and control Windows basic behavior.

Microsoft has exposed some of these features for WinRT applications. So now we can write a Windows Store apps which can retreive CPU type from device, or check your CPU architecture.

For complete list of available WinAPI features in WinRT side, check this site: http://msdn.microsoft.com/en-us/library/windows/apps/br205762.aspx

Microsoft has also this really useful Windows API index which contains all the needed information to use API effectively: http://msdn.microsoft.com/en-us/library/windows/desktop/ff818516(v=vs.85).aspx

And finally also checkout this nice guide how to use a Windows API in .NET app: http://www.c-sharpcorner.com/UploadFile/shrijeetnair/win32api12062005005528AM/win32api.aspx


  1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Online Training from India. or learn thru ASP.NET Essential Training Online . Nowadays Dot Net has tons of job opportunities on various vertical industry.
    JavaScript Online Training from India