The ThreadTimes function can be used to determine the amount of time in milliseconds that a thread has been executing. This can be useful when monitoring an application's performance. Listing 10.6 in Chapter 10 ("The Remote API") shows an example of using this function. In this case, ThreadTimes is called from a DLL running on a Windows CE device, with the data being returned through a RAPI call to a desktop application.
|