Update documentation for hWaitForInput