Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
f37e3a47
Commit
f37e3a47
authored
Sep 16, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed a coupld of unused functions in the Callout structure.
parent
39932167
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
13 deletions
+6
-13
thunk.c
if1632/thunk.c
+0
-3
callback.h
include/callback.h
+0
-3
event.c
windows/x11drv/event.c
+6
-7
No files found.
if1632/thunk.c
View file @
f37e3a47
...
...
@@ -160,15 +160,12 @@ void THUNK_InitCallout(void)
GETADDR
(
GetMessageA
);
GETADDR
(
SendMessageA
);
GETADDR
(
PostMessageA
);
GETADDR
(
PostThreadMessageA
);
GETADDR
(
TranslateMessage
);
GETADDR
(
DispatchMessageA
);
GETADDR
(
RedrawWindow
);
GETADDR
(
WaitForInputIdle
);
GETADDR
(
MsgWaitForMultipleObjects
);
GETADDR
(
WindowFromDC
);
GETADDR
(
GetForegroundWindow
);
GETADDR
(
IsChild
);
GETADDR
(
MessageBoxA
);
GETADDR
(
MessageBoxW
);
#undef GETADDR
...
...
include/callback.h
View file @
f37e3a47
...
...
@@ -32,7 +32,6 @@ typedef struct
LRESULT
WINAPI
(
*
SendMessageA
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
BOOL
WINAPI
(
*
PostMessageA
)(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
BOOL16
WINAPI
(
*
PostAppMessage16
)(
HTASK16
,
UINT16
,
WPARAM16
,
LPARAM
);
BOOL
WINAPI
(
*
PostThreadMessageA
)(
DWORD
,
UINT
,
WPARAM
,
LPARAM
);
BOOL
WINAPI
(
*
TranslateMessage
)(
const
MSG
*
msg
);
LONG
WINAPI
(
*
DispatchMessageA
)(
const
MSG
*
msg
);
BOOL
WINAPI
(
*
RedrawWindow
)(
HWND
,
const
RECT
*
,
HRGN
,
UINT
);
...
...
@@ -44,8 +43,6 @@ typedef struct
DWORD
WINAPI
(
*
WaitForInputIdle
)(
HANDLE
,
DWORD
);
DWORD
WINAPI
(
*
MsgWaitForMultipleObjects
)(
DWORD
,
HANDLE
*
,
BOOL
,
DWORD
,
DWORD
);
HWND
WINAPI
(
*
WindowFromDC
)(
HDC
);
HWND
WINAPI
(
*
GetForegroundWindow
)(
void
);
BOOL
WINAPI
(
*
IsChild
)(
HWND
parent
,
HWND
);
INT
WINAPI
(
*
MessageBoxA
)(
HWND
,
LPCSTR
,
LPCSTR
,
UINT
);
INT
WINAPI
(
*
MessageBoxW
)(
HWND
,
LPCWSTR
,
LPCWSTR
,
UINT
);
}
CALLOUT_TABLE
;
...
...
windows/x11drv/event.c
View file @
f37e3a47
...
...
@@ -22,7 +22,8 @@
#include <assert.h>
#include <string.h>
#include "callback.h"
#include "wine/winuser16.h"
#include "clipboard.h"
#include "dce.h"
#include "debugtools.h"
...
...
@@ -643,9 +644,8 @@ static void EVENT_Expose( HWND hWnd, XExposeEvent *event )
rect
.
bottom
=
rect
.
top
+
event
->
height
;
WIN_ReleaseWndPtr
(
pWnd
);
Callout
.
RedrawWindow
(
hWnd
,
&
rect
,
0
,
RDW_INVALIDATE
|
RDW_FRAME
|
RDW_ALLCHILDREN
|
RDW_ERASE
);
RedrawWindow
(
hWnd
,
&
rect
,
0
,
RDW_INVALIDATE
|
RDW_FRAME
|
RDW_ALLCHILDREN
|
RDW_ERASE
);
/* FIXME: We should use SendNotifyMessage here, but this function is not
implemented correctly, so for now we used SendMessage */
...
...
@@ -678,9 +678,8 @@ static void EVENT_GraphicsExpose( HWND hWnd, XGraphicsExposeEvent *event )
rect
.
bottom
=
rect
.
top
+
event
->
height
;
WIN_ReleaseWndPtr
(
pWnd
);
Callout
.
RedrawWindow
(
hWnd
,
&
rect
,
0
,
RDW_INVALIDATE
|
RDW_ALLCHILDREN
|
RDW_ERASE
);
RedrawWindow
(
hWnd
,
&
rect
,
0
,
RDW_INVALIDATE
|
RDW_ALLCHILDREN
|
RDW_ERASE
);
/* FIXME: We should use SendNotifyMessage here, but this function is not
implemented correctly, so for now we used SendMessage */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment