some test code

some test code try to category windows api to oo-like system