Added more windows API functions.