Well theres something called google.
Second result on google will get you this code, and implementing code form google is not a very hard task XD
Ofcourse nobody knows ALL of the windows stuff. Just use google, it'll be fine tongue