I am using WINAPI.
DWORD dwRc = ::WaitForMultipleObjects(3, aHandles, FALSE, pRedir->m_dwWaitTime);
My aHandles[2]
signals before pRedir->m_dwWaitTime
runs the required stuff and again runs the instruction:
DWORD dwRc = ::WaitForMultipleObjects(3, aHandles, FALSE, pRedir->m_dwWaitTime);
and process continues.
I want to modify the value of m_dwWaitTime
.
I want to determine the time between the start of aHandles[2]
and when it signaled.
How do I do that?