Removed TIMER_SwitchQueue.

This commit is contained in:
Ulrich Weigand 1999-05-08 10:47:23 +00:00 committed by Alexandre Julliard
parent cdd3a52899
commit e9caf93bbb
3 changed files with 0 additions and 23 deletions

View file

@ -21,7 +21,6 @@ extern BOOL MSG_InternalGetMessage( MSG *msg, HWND hwnd,
extern BOOL TIMER_Init( void );
extern void TIMER_RemoveWindowTimers( HWND hwnd );
extern void TIMER_RemoveQueueTimers( HQUEUE16 hqueue );
extern void TIMER_SwitchQueue( HQUEUE16 hOldQueue, HQUEUE16 hNewQueue );
extern BOOL TIMER_GetTimerMsg( MSG *msg, HWND hwnd,
HQUEUE16 hQueue, BOOL remove );

View file

@ -1240,8 +1240,6 @@ HQUEUE16 WINAPI SetTaskQueue16( HTASK16 hTask, HQUEUE16 hQueue )
hPrev = pTask->hQueue;
pTask->hQueue = hQueue;
TIMER_SwitchQueue( hPrev, hQueue );
return hPrev;
}

View file

@ -118,26 +118,6 @@ static void TIMER_ClearTimer( TIMER * pTimer )
}
/***********************************************************************
* TIMER_SwitchQueue
*/
void TIMER_SwitchQueue( HQUEUE16 old, HQUEUE16 new )
{
TIMER * pT;
EnterCriticalSection( &csTimer );
pT = pNextTimer;
while (pT)
{
if (pT->hq == old) pT->hq = new;
pT = pT->next;
}
LeaveCriticalSection( &csTimer );
}
/***********************************************************************
* TIMER_RemoveWindowTimers
*