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
db9b557b
Commit
db9b557b
authored
Jun 08, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Make wparam and lparam values unsigned long for win64 compatability.
parent
38e74b31
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
queue.c
server/queue.c
+4
-4
sock.c
server/sock.c
+1
-1
user.h
server/user.h
+1
-1
No files found.
server/queue.c
View file @
db9b557b
...
...
@@ -70,8 +70,8 @@ struct message
enum
message_type
type
;
/* message type */
user_handle_t
win
;
/* window handle */
unsigned
int
msg
;
/* message code */
unsigned
int
wparam
;
/* parameters */
unsigned
int
lparam
;
/* parameters */
unsigned
long
wparam
;
/* parameters */
unsigned
long
lparam
;
/* parameters */
int
x
;
/* x position */
int
y
;
/* y position */
unsigned
int
time
;
/* message time */
...
...
@@ -544,7 +544,7 @@ static struct message_result *alloc_message_result( struct msg_queue *send_queue
callback_msg
->
type
=
MSG_CALLBACK_RESULT
;
callback_msg
->
win
=
msg
->
win
;
callback_msg
->
msg
=
msg
->
msg
;
callback_msg
->
wparam
=
(
unsigned
int
)
callback
;
callback_msg
->
wparam
=
(
unsigned
long
)
callback
;
callback_msg
->
lparam
=
0
;
callback_msg
->
time
=
get_tick_count
();
callback_msg
->
x
=
0
;
...
...
@@ -1446,7 +1446,7 @@ void queue_cleanup_window( struct thread *thread, user_handle_t win )
/* post a message to a window; used by socket handling */
void
post_message
(
user_handle_t
win
,
unsigned
int
message
,
unsigned
int
wparam
,
unsigned
int
lparam
)
unsigned
long
wparam
,
unsigned
long
lparam
)
{
struct
message
*
msg
;
struct
thread
*
thread
=
get_window_thread
(
win
);
...
...
server/sock.c
View file @
db9b557b
...
...
@@ -276,7 +276,7 @@ static void sock_wake_up( struct sock *sock, int pollev )
if
(
sock
->
pmask
&
(
1
<<
event
))
{
unsigned
int
lparam
=
(
1
<<
event
)
|
(
sock
->
errors
[
event
]
<<
16
);
post_message
(
sock
->
window
,
sock
->
message
,
(
unsigned
int
)
sock
->
wparam
,
lparam
);
post_message
(
sock
->
window
,
sock
->
message
,
(
unsigned
long
)
sock
->
wparam
,
lparam
);
}
}
sock
->
pmask
=
0
;
...
...
server/user.h
View file @
db9b557b
...
...
@@ -91,7 +91,7 @@ extern int init_thread_queue( struct thread *thread );
extern
int
attach_thread_input
(
struct
thread
*
thread_from
,
struct
thread
*
thread_to
);
extern
void
detach_thread_input
(
struct
thread
*
thread_from
);
extern
void
post_message
(
user_handle_t
win
,
unsigned
int
message
,
unsigned
int
wparam
,
unsigned
int
lparam
);
unsigned
long
wparam
,
unsigned
long
lparam
);
extern
void
post_win_event
(
struct
thread
*
thread
,
unsigned
int
event
,
user_handle_t
win
,
unsigned
int
object_id
,
unsigned
int
child_id
,
void
*
proc
,
...
...
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