mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 12:03:45 +00:00
Removed TIMER_SwitchQueue.
This commit is contained in:
parent
cdd3a52899
commit
e9caf93bbb
3 changed files with 0 additions and 23 deletions
|
@ -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 );
|
||||
|
||||
|
|
|
@ -1240,8 +1240,6 @@ HQUEUE16 WINAPI SetTaskQueue16( HTASK16 hTask, HQUEUE16 hQueue )
|
|||
hPrev = pTask->hQueue;
|
||||
pTask->hQueue = hQueue;
|
||||
|
||||
TIMER_SwitchQueue( hPrev, hQueue );
|
||||
|
||||
return hPrev;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue