If you need some help programing APIs, I have a good link for you. They says "It's time to stop writing PInvoke signatures from scratch! Instead, copy and paste your way to productivity!"
Here you are : http://www.pinvoke.net