Removed a coupld of unused functions in the Callout structure.
This commit is contained in:
parent
3993216776
commit
f37e3a471b
|
@ -160,15 +160,12 @@ void THUNK_InitCallout(void)
|
||||||
GETADDR( GetMessageA );
|
GETADDR( GetMessageA );
|
||||||
GETADDR( SendMessageA );
|
GETADDR( SendMessageA );
|
||||||
GETADDR( PostMessageA );
|
GETADDR( PostMessageA );
|
||||||
GETADDR( PostThreadMessageA );
|
|
||||||
GETADDR( TranslateMessage );
|
GETADDR( TranslateMessage );
|
||||||
GETADDR( DispatchMessageA );
|
GETADDR( DispatchMessageA );
|
||||||
GETADDR( RedrawWindow );
|
GETADDR( RedrawWindow );
|
||||||
GETADDR( WaitForInputIdle );
|
GETADDR( WaitForInputIdle );
|
||||||
GETADDR( MsgWaitForMultipleObjects );
|
GETADDR( MsgWaitForMultipleObjects );
|
||||||
GETADDR( WindowFromDC );
|
GETADDR( WindowFromDC );
|
||||||
GETADDR( GetForegroundWindow );
|
|
||||||
GETADDR( IsChild );
|
|
||||||
GETADDR( MessageBoxA );
|
GETADDR( MessageBoxA );
|
||||||
GETADDR( MessageBoxW );
|
GETADDR( MessageBoxW );
|
||||||
#undef GETADDR
|
#undef GETADDR
|
||||||
|
|
|
@ -32,7 +32,6 @@ typedef struct
|
||||||
LRESULT WINAPI (*SendMessageA)( HWND, UINT, WPARAM, LPARAM );
|
LRESULT WINAPI (*SendMessageA)( HWND, UINT, WPARAM, LPARAM );
|
||||||
BOOL WINAPI (*PostMessageA)( HWND, UINT, WPARAM, LPARAM );
|
BOOL WINAPI (*PostMessageA)( HWND, UINT, WPARAM, LPARAM );
|
||||||
BOOL16 WINAPI (*PostAppMessage16)( HTASK16, UINT16, WPARAM16, LPARAM );
|
BOOL16 WINAPI (*PostAppMessage16)( HTASK16, UINT16, WPARAM16, LPARAM );
|
||||||
BOOL WINAPI (*PostThreadMessageA)( DWORD, UINT, WPARAM, LPARAM );
|
|
||||||
BOOL WINAPI (*TranslateMessage)( const MSG *msg );
|
BOOL WINAPI (*TranslateMessage)( const MSG *msg );
|
||||||
LONG WINAPI (*DispatchMessageA)( const MSG* msg );
|
LONG WINAPI (*DispatchMessageA)( const MSG* msg );
|
||||||
BOOL WINAPI (*RedrawWindow)( HWND, const RECT *, HRGN, UINT );
|
BOOL WINAPI (*RedrawWindow)( HWND, const RECT *, HRGN, UINT );
|
||||||
|
@ -44,8 +43,6 @@ typedef struct
|
||||||
DWORD WINAPI (*WaitForInputIdle)( HANDLE, DWORD );
|
DWORD WINAPI (*WaitForInputIdle)( HANDLE, DWORD );
|
||||||
DWORD WINAPI (*MsgWaitForMultipleObjects)( DWORD, HANDLE *, BOOL, DWORD, DWORD );
|
DWORD WINAPI (*MsgWaitForMultipleObjects)( DWORD, HANDLE *, BOOL, DWORD, DWORD );
|
||||||
HWND WINAPI (*WindowFromDC)( HDC );
|
HWND WINAPI (*WindowFromDC)( HDC );
|
||||||
HWND WINAPI (*GetForegroundWindow)(void);
|
|
||||||
BOOL WINAPI (*IsChild)( HWND parent, HWND );
|
|
||||||
INT WINAPI (*MessageBoxA)( HWND, LPCSTR, LPCSTR, UINT );
|
INT WINAPI (*MessageBoxA)( HWND, LPCSTR, LPCSTR, UINT );
|
||||||
INT WINAPI (*MessageBoxW)( HWND, LPCWSTR, LPCWSTR, UINT );
|
INT WINAPI (*MessageBoxW)( HWND, LPCWSTR, LPCWSTR, UINT );
|
||||||
} CALLOUT_TABLE;
|
} CALLOUT_TABLE;
|
||||||
|
|
|
@ -22,7 +22,8 @@
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "callback.h"
|
#include "wine/winuser16.h"
|
||||||
|
|
||||||
#include "clipboard.h"
|
#include "clipboard.h"
|
||||||
#include "dce.h"
|
#include "dce.h"
|
||||||
#include "debugtools.h"
|
#include "debugtools.h"
|
||||||
|
@ -644,8 +645,7 @@ static void EVENT_Expose( HWND hWnd, XExposeEvent *event )
|
||||||
|
|
||||||
WIN_ReleaseWndPtr(pWnd);
|
WIN_ReleaseWndPtr(pWnd);
|
||||||
|
|
||||||
Callout.RedrawWindow( hWnd, &rect, 0,
|
RedrawWindow( hWnd, &rect, 0, RDW_INVALIDATE | RDW_FRAME | RDW_ALLCHILDREN | RDW_ERASE );
|
||||||
RDW_INVALIDATE | RDW_FRAME | RDW_ALLCHILDREN | RDW_ERASE );
|
|
||||||
|
|
||||||
/* FIXME: We should use SendNotifyMessage here, but this function is not
|
/* FIXME: We should use SendNotifyMessage here, but this function is not
|
||||||
implemented correctly, so for now we used SendMessage */
|
implemented correctly, so for now we used SendMessage */
|
||||||
|
@ -679,8 +679,7 @@ static void EVENT_GraphicsExpose( HWND hWnd, XGraphicsExposeEvent *event )
|
||||||
|
|
||||||
WIN_ReleaseWndPtr(pWnd);
|
WIN_ReleaseWndPtr(pWnd);
|
||||||
|
|
||||||
Callout.RedrawWindow( hWnd, &rect, 0,
|
RedrawWindow( hWnd, &rect, 0, RDW_INVALIDATE | RDW_ALLCHILDREN | RDW_ERASE );
|
||||||
RDW_INVALIDATE | RDW_ALLCHILDREN | RDW_ERASE );
|
|
||||||
|
|
||||||
/* FIXME: We should use SendNotifyMessage here, but this function is not
|
/* FIXME: We should use SendNotifyMessage here, but this function is not
|
||||||
implemented correctly, so for now we used SendMessage */
|
implemented correctly, so for now we used SendMessage */
|
||||||
|
|
Loading…
Reference in New Issue