Add some windows api for find window and get process id.