How do you get the main windows handle in c++? in .net it is easy but how in c++?