![]() |
ReSetTimeout() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Public Function |
Declared in: SocketThreadManager.h |
Declaration
BOOL ReSetTimeout(
const TimerID& rTimerID);
DescriptionRefresh an existing timeout
Function Body
//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)
See Also
This web site was generated
using Surveyor V4.50.811.1. Click
here
for more information. |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |