Je lis un paragraphe depuis tout a l'heure dans la MSDN :
Performance data collection can create and trigger a user-defined event. One example of when you may want this to happen is when sampling real-time data at regular intervals. Use the PdhCollectQueryDataEx function to do this. The process of calling PdhCollectQueryDataEx is the following:
-Create an event by calling the CreateEvent function.
-Pass the event handle into the call to PdhCollectQueryDataEx.
PdhCollectQueryDataEx will return immediately and create a timing thread. This timing thread will wait the specified interval of time and then collect a sample of performance data and set the event. When set, this event signals the main thread that performance data is available.
Mon pb est que je ne sais pas comment le timing thread fait pour signaler au main thread qu'il a bien recuperer les valeurs. Pourriez vous m'aider ?