Programmatically, how does this application detect that a program is ready for input

前端 未结 3 821
清歌不尽
清歌不尽 2021-01-20 22:51

I need to build a small C# application which measures start up times for a definable application. I have found this free tool:

http://www.passmark.com/products/appti

3条回答
  •  执笔经年
    2021-01-20 23:00

    It's referring to the Windows WaitForInputIdle API, which calls you back when an applicaiton has gone into an idle message loop state:

    http://blogs.msdn.com/b/oldnewthing/archive/2010/03/25/9984720.aspx

提交回复
热议问题