![]() |
ReSetTimeout() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Function |
Declared in: SocketThreadManager.h |
BOOL ReSetTimeout( const TimerID& rTimerID);
Refresh an existing timeout
//Check if anyone is smartass if (!rTimerID.iTimerID) { //Report it ReportError("ReSetTimeout","Someone send an empty TimerID!"); //And exit return FALSE; } try { //Reset the timer int iResult; iResult=SetTimer(m_pThreadData[rTimerID.iIndex-1].hWindowHandle, rTimerID.iTimerID, rTimerID.iMS, NULL); //Check the result if (!iResult) ReportError("ReSetTimeout","Failed to reset the timeout!"); //Done return iResult!=0; } ERROR_HANDLER_RETURN("ReSetTimeout",FALSE)
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |