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
85f518ac
Commit
85f518ac
authored
Oct 16, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: A window timer id should be an unsigned long.
parent
ce2b767f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
14 deletions
+14
-14
server_protocol.h
include/wine/server_protocol.h
+4
-4
protocol.def
server/protocol.def
+3
-3
queue.c
server/queue.c
+4
-4
trace.c
server/trace.c
+3
-3
No files found.
include/wine/server_protocol.h
View file @
85f518ac
...
...
@@ -2355,14 +2355,14 @@ struct set_win_timer_request
struct
request_header
__header
;
user_handle_t
win
;
unsigned
int
msg
;
unsigned
int
id
;
unsigned
int
rate
;
unsigned
long
id
;
unsigned
long
lparam
;
};
struct
set_win_timer_reply
{
struct
reply_header
__header
;
unsigned
int
id
;
unsigned
long
id
;
};
...
...
@@ -2372,7 +2372,7 @@ struct kill_win_timer_request
struct
request_header
__header
;
user_handle_t
win
;
unsigned
int
msg
;
unsigned
int
id
;
unsigned
long
id
;
};
struct
kill_win_timer_reply
{
...
...
@@ -4426,6 +4426,6 @@ union generic_reply
struct
query_symlink_reply
query_symlink_reply
;
};
#define SERVER_PROTOCOL_VERSION 25
4
#define SERVER_PROTOCOL_VERSION 25
5
#endif
/* __WINE_WINE_SERVER_PROTOCOL_H */
server/protocol.def
View file @
85f518ac
...
...
@@ -1687,11 +1687,11 @@ enum message_type
@REQ(set_win_timer)
user_handle_t win; /* window handle */
unsigned int msg; /* message to post */
unsigned int id; /* timer id */
unsigned int rate; /* timer rate in ms */
unsigned long id; /* timer id */
unsigned long lparam; /* message lparam (callback proc) */
@REPLY
unsigned
int
id; /* timer id */
unsigned
long
id; /* timer id */
@END
...
...
@@ -1699,7 +1699,7 @@ enum message_type
@REQ(kill_win_timer)
user_handle_t win; /* window handle */
unsigned int msg; /* message to post */
unsigned
int
id; /* timer id */
unsigned
long
id; /* timer id */
@END
...
...
server/queue.c
View file @
85f518ac
...
...
@@ -89,7 +89,7 @@ struct timer
unsigned
int
rate
;
/* timer rate in ms */
user_handle_t
win
;
/* window handle */
unsigned
int
msg
;
/* message to post */
unsigned
int
id
;
/* timer id */
unsigned
long
id
;
/* timer id */
unsigned
long
lparam
;
/* lparam for message */
};
...
...
@@ -126,7 +126,7 @@ struct msg_queue
struct
message_result
*
recv_result
;
/* stack of received messages waiting for result */
struct
list
pending_timers
;
/* list of pending timers */
struct
list
expired_timers
;
/* list of expired timers */
unsigned
int
next_timer_id
;
/* id for the next timer with a 0 window */
unsigned
long
next_timer_id
;
/* id for the next timer with a 0 window */
struct
timeout_user
*
timeout
;
/* timeout for next timer to expire */
struct
thread_input
*
input
;
/* thread input descriptor */
struct
hook_table
*
hooks
;
/* hook table */
...
...
@@ -966,7 +966,7 @@ static void set_next_timer( struct msg_queue *queue )
/* find a timer from its window and id */
static
struct
timer
*
find_timer
(
struct
msg_queue
*
queue
,
user_handle_t
win
,
unsigned
int
msg
,
unsigned
int
id
)
unsigned
int
msg
,
unsigned
long
id
)
{
struct
list
*
ptr
;
...
...
@@ -1832,7 +1832,7 @@ DECL_HANDLER(set_win_timer)
struct
msg_queue
*
queue
;
struct
thread
*
thread
=
NULL
;
user_handle_t
win
=
0
;
unsigned
int
id
=
req
->
id
;
unsigned
long
id
=
req
->
id
;
if
(
req
->
win
)
{
...
...
server/trace.c
View file @
85f518ac
...
...
@@ -2179,21 +2179,21 @@ static void dump_set_win_timer_request( const struct set_win_timer_request *req
{
fprintf
(
stderr
,
" win=%p,"
,
req
->
win
);
fprintf
(
stderr
,
" msg=%08x,"
,
req
->
msg
);
fprintf
(
stderr
,
" id=%08x,"
,
req
->
id
);
fprintf
(
stderr
,
" rate=%08x,"
,
req
->
rate
);
fprintf
(
stderr
,
" id=%lx,"
,
req
->
id
);
fprintf
(
stderr
,
" lparam=%lx"
,
req
->
lparam
);
}
static
void
dump_set_win_timer_reply
(
const
struct
set_win_timer_reply
*
req
)
{
fprintf
(
stderr
,
" id=%
08
x"
,
req
->
id
);
fprintf
(
stderr
,
" id=%
l
x"
,
req
->
id
);
}
static
void
dump_kill_win_timer_request
(
const
struct
kill_win_timer_request
*
req
)
{
fprintf
(
stderr
,
" win=%p,"
,
req
->
win
);
fprintf
(
stderr
,
" msg=%08x,"
,
req
->
msg
);
fprintf
(
stderr
,
" id=%
08
x"
,
req
->
id
);
fprintf
(
stderr
,
" id=%
l
x"
,
req
->
id
);
}
static
void
dump_get_serial_info_request
(
const
struct
get_serial_info_request
*
req
)
...
...
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