Commit 5cec819d authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Removed Callback.CallTaskRescheduleProc().

parent bba76eed
......@@ -140,13 +140,8 @@ static THUNK *firstThunk = NULL;
static LRESULT WINAPI THUNK_CallWndProc16( WNDPROC16 proc, HWND16 hwnd,
UINT16 msg, WPARAM16 wParam,
LPARAM lParam );
static BOOL WINAPI THUNK_CallTaskReschedule(void);
static BOOL WINAPI THUNK_WOWCallback16Ex( FARPROC16,DWORD,DWORD,
LPVOID,LPDWORD );
/* TASK_Reschedule() 16-bit entry point */
static FARPROC16 TASK_RescheduleProc;
static BOOL THUNK_ThunkletInit( void );
extern void CallFrom16_p_long_wwwll(void);
......@@ -156,7 +151,6 @@ static const CALLBACKS_TABLE CALLBACK_EmulatorTable =
{
(void *)CallTo16_sreg_, /* CallRegisterShortProc */
(void *)CallTo16_lreg_, /* CallRegisterLongProc */
THUNK_CallTaskReschedule, /* CallTaskRescheduleProc */
(void*)CallFrom16_p_long_wwwll, /* CallFrom16WndProc */
THUNK_CallWndProc16, /* CallWndProc */
(void *)CallTo16_long_lwwll, /* CallDriverProc */
......@@ -192,8 +186,6 @@ BOOL THUNK_Init(void)
{
/* Set the window proc calling functions */
Callbacks = &CALLBACK_EmulatorTable;
/* Get the 16-bit reschedule function pointer */
TASK_RescheduleProc = MODULE_GetWndProcEntry16( "TASK_Reschedule" );
/* Initialize Thunklets */
return THUNK_ThunkletInit();
}
......@@ -325,15 +317,6 @@ static LRESULT WINAPI THUNK_CallWndProc16( WNDPROC16 proc, HWND16 hwnd,
/***********************************************************************
* THUNK_CallTaskReschedule
*/
static BOOL WINAPI THUNK_CallTaskReschedule(void)
{
return CallTo16_word_(TASK_RescheduleProc);
}
/***********************************************************************
* THUNK_EnumObjects16 (GDI.71)
*/
INT16 WINAPI THUNK_EnumObjects16( HDC16 hdc, INT16 nObjType,
......
......@@ -22,7 +22,6 @@ typedef struct
{
LONG (CALLBACK *CallRegisterShortProc)( CONTEXT *, INT );
LONG (CALLBACK *CallRegisterLongProc)( CONTEXT *, INT );
BOOL (CALLBACK *CallTaskRescheduleProc)(void);
VOID (CALLBACK *CallFrom16WndProc)(void);
LRESULT (CALLBACK *CallWndProc)( WNDPROC16, HWND16, UINT16,
WPARAM16, LPARAM );
......
......@@ -262,21 +262,6 @@ static DWORD WINAPI CALLBACK_CallUTProc( FARPROC16 proc, DWORD w1, DWORD w2 )
}
/**********************************************************************
* CALLBACK_CallTaskRescheduleProc
*/
static BOOL WINAPI CALLBACK_CallTaskRescheduleProc( void )
{
BOOL pending;
SYSLEVEL_EnterWin16Lock();
pending = TASK_Reschedule();
SYSLEVEL_LeaveWin16Lock();
return pending;
}
/**********************************************************************
* CALLBACK_WinelibTable
*
* The callbacks function table for Winelib
......@@ -285,7 +270,6 @@ static const CALLBACKS_TABLE CALLBACK_WinelibTable =
{
CALLBACK_CallRegisterProc, /* CallRegisterShortProc */
CALLBACK_CallRegisterProc, /* CallRegisterLongProc */
CALLBACK_CallTaskRescheduleProc, /* CallTaskRescheduleProc */
NULL, /* CallFrom16WndProc */
CALLBACK_CallWndProc, /* CallWndProc */
CALLBACK_CallDriverProc, /* CallDriverProc */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment