long TestGetLastWaitResult();
TestWaitForTimeout(100); Write("Waiting Result = %d", TestGetLastWaitResult());