implemented Win32Lib WaitForAnyObject