Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
f386950f
Commit
f386950f
authored
Jun 07, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Use unsigned long for request types that are 64bit in win64.
parent
202ef690
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
16 deletions
+17
-16
server_protocol.h
include/wine/server_protocol.h
+6
-6
protocol.def
server/protocol.def
+5
-5
trace.c
server/trace.c
+5
-5
make_requests
tools/make_requests
+1
-0
No files found.
include/wine/server_protocol.h
View file @
f386950f
...
@@ -2194,8 +2194,8 @@ struct send_message_request
...
@@ -2194,8 +2194,8 @@ struct send_message_request
int
flags
;
int
flags
;
user_handle_t
win
;
user_handle_t
win
;
unsigned
int
msg
;
unsigned
int
msg
;
unsigned
int
wparam
;
unsigned
long
wparam
;
unsigned
int
lparam
;
unsigned
long
lparam
;
int
x
;
int
x
;
int
y
;
int
y
;
unsigned
int
time
;
unsigned
int
time
;
...
@@ -2250,8 +2250,8 @@ struct get_message_reply
...
@@ -2250,8 +2250,8 @@ struct get_message_reply
int
type
;
int
type
;
user_handle_t
win
;
user_handle_t
win
;
unsigned
int
msg
;
unsigned
int
msg
;
unsigned
int
wparam
;
unsigned
long
wparam
;
unsigned
int
lparam
;
unsigned
long
lparam
;
int
x
;
int
x
;
int
y
;
int
y
;
user_handle_t
hook
;
user_handle_t
hook
;
...
@@ -2316,7 +2316,7 @@ struct set_win_timer_request
...
@@ -2316,7 +2316,7 @@ struct set_win_timer_request
unsigned
int
msg
;
unsigned
int
msg
;
unsigned
int
id
;
unsigned
int
id
;
unsigned
int
rate
;
unsigned
int
rate
;
unsigned
int
lparam
;
unsigned
long
lparam
;
};
};
struct
set_win_timer_reply
struct
set_win_timer_reply
{
{
...
@@ -4382,6 +4382,6 @@ union generic_reply
...
@@ -4382,6 +4382,6 @@ union generic_reply
struct
query_symlink_reply
query_symlink_reply
;
struct
query_symlink_reply
query_symlink_reply
;
};
};
#define SERVER_PROTOCOL_VERSION 23
4
#define SERVER_PROTOCOL_VERSION 23
5
#endif
/* __WINE_WINE_SERVER_PROTOCOL_H */
#endif
/* __WINE_WINE_SERVER_PROTOCOL_H */
server/protocol.def
View file @
f386950f
...
@@ -1566,8 +1566,8 @@ enum char_info_mode
...
@@ -1566,8 +1566,8 @@ enum char_info_mode
int flags; /* message flags (see below) */
int flags; /* message flags (see below) */
user_handle_t win; /* window handle */
user_handle_t win; /* window handle */
unsigned int msg; /* message code */
unsigned int msg; /* message code */
unsigned
int
wparam; /* parameters */
unsigned
long
wparam; /* parameters */
unsigned
int
lparam; /* parameters */
unsigned
long
lparam; /* parameters */
int x; /* x position */
int x; /* x position */
int y; /* y position */
int y; /* y position */
unsigned int time; /* message time */
unsigned int time; /* message time */
...
@@ -1607,8 +1607,8 @@ enum message_type
...
@@ -1607,8 +1607,8 @@ enum message_type
int type; /* message type */
int type; /* message type */
user_handle_t win; /* window handle */
user_handle_t win; /* window handle */
unsigned int msg; /* message code */
unsigned int msg; /* message code */
unsigned
int
wparam; /* parameters (callback function for MSG_CALLBACK_RESULT) */
unsigned
long
wparam; /* parameters (callback function for MSG_CALLBACK_RESULT) */
unsigned
int
lparam; /* parameters (result for MSG_CALLBACK_RESULT) */
unsigned
long
lparam; /* parameters (result for MSG_CALLBACK_RESULT) */
int x; /* x position */
int x; /* x position */
int y; /* y position */
int y; /* y position */
user_handle_t hook; /* winevent hook handle */
user_handle_t hook; /* winevent hook handle */
...
@@ -1654,7 +1654,7 @@ enum message_type
...
@@ -1654,7 +1654,7 @@ enum message_type
unsigned int msg; /* message to post */
unsigned int msg; /* message to post */
unsigned int id; /* timer id */
unsigned int id; /* timer id */
unsigned int rate; /* timer rate in ms */
unsigned int rate; /* timer rate in ms */
unsigned
int
lparam; /* message lparam (callback proc) */
unsigned
long
lparam; /* message lparam (callback proc) */
@REPLY
@REPLY
unsigned int id; /* timer id */
unsigned int id; /* timer id */
@END
@END
...
...
server/trace.c
View file @
f386950f
...
@@ -2080,8 +2080,8 @@ static void dump_send_message_request( const struct send_message_request *req )
...
@@ -2080,8 +2080,8 @@ static void dump_send_message_request( const struct send_message_request *req )
fprintf
(
stderr
,
" flags=%d,"
,
req
->
flags
);
fprintf
(
stderr
,
" flags=%d,"
,
req
->
flags
);
fprintf
(
stderr
,
" win=%p,"
,
req
->
win
);
fprintf
(
stderr
,
" win=%p,"
,
req
->
win
);
fprintf
(
stderr
,
" msg=%08x,"
,
req
->
msg
);
fprintf
(
stderr
,
" msg=%08x,"
,
req
->
msg
);
fprintf
(
stderr
,
" wparam=%
08
x,"
,
req
->
wparam
);
fprintf
(
stderr
,
" wparam=%
l
x,"
,
req
->
wparam
);
fprintf
(
stderr
,
" lparam=%
08
x,"
,
req
->
lparam
);
fprintf
(
stderr
,
" lparam=%
l
x,"
,
req
->
lparam
);
fprintf
(
stderr
,
" x=%d,"
,
req
->
x
);
fprintf
(
stderr
,
" x=%d,"
,
req
->
x
);
fprintf
(
stderr
,
" y=%d,"
,
req
->
y
);
fprintf
(
stderr
,
" y=%d,"
,
req
->
y
);
fprintf
(
stderr
,
" time=%08x,"
,
req
->
time
);
fprintf
(
stderr
,
" time=%08x,"
,
req
->
time
);
...
@@ -2111,8 +2111,8 @@ static void dump_get_message_reply( const struct get_message_reply *req )
...
@@ -2111,8 +2111,8 @@ static void dump_get_message_reply( const struct get_message_reply *req )
fprintf
(
stderr
,
" type=%d,"
,
req
->
type
);
fprintf
(
stderr
,
" type=%d,"
,
req
->
type
);
fprintf
(
stderr
,
" win=%p,"
,
req
->
win
);
fprintf
(
stderr
,
" win=%p,"
,
req
->
win
);
fprintf
(
stderr
,
" msg=%08x,"
,
req
->
msg
);
fprintf
(
stderr
,
" msg=%08x,"
,
req
->
msg
);
fprintf
(
stderr
,
" wparam=%
08
x,"
,
req
->
wparam
);
fprintf
(
stderr
,
" wparam=%
l
x,"
,
req
->
wparam
);
fprintf
(
stderr
,
" lparam=%
08
x,"
,
req
->
lparam
);
fprintf
(
stderr
,
" lparam=%
l
x,"
,
req
->
lparam
);
fprintf
(
stderr
,
" x=%d,"
,
req
->
x
);
fprintf
(
stderr
,
" x=%d,"
,
req
->
x
);
fprintf
(
stderr
,
" y=%d,"
,
req
->
y
);
fprintf
(
stderr
,
" y=%d,"
,
req
->
y
);
fprintf
(
stderr
,
" hook=%p,"
,
req
->
hook
);
fprintf
(
stderr
,
" hook=%p,"
,
req
->
hook
);
...
@@ -2159,7 +2159,7 @@ static void dump_set_win_timer_request( const struct set_win_timer_request *req
...
@@ -2159,7 +2159,7 @@ static void dump_set_win_timer_request( const struct set_win_timer_request *req
fprintf
(
stderr
,
" msg=%08x,"
,
req
->
msg
);
fprintf
(
stderr
,
" msg=%08x,"
,
req
->
msg
);
fprintf
(
stderr
,
" id=%08x,"
,
req
->
id
);
fprintf
(
stderr
,
" id=%08x,"
,
req
->
id
);
fprintf
(
stderr
,
" rate=%08x,"
,
req
->
rate
);
fprintf
(
stderr
,
" rate=%08x,"
,
req
->
rate
);
fprintf
(
stderr
,
" lparam=%
08
x"
,
req
->
lparam
);
fprintf
(
stderr
,
" lparam=%
l
x"
,
req
->
lparam
);
}
}
static
void
dump_set_win_timer_reply
(
const
struct
set_win_timer_reply
*
req
)
static
void
dump_set_win_timer_reply
(
const
struct
set_win_timer_reply
*
req
)
...
...
tools/make_requests
View file @
f386950f
...
@@ -29,6 +29,7 @@ my %formats =
...
@@ -29,6 +29,7 @@ my %formats =
"unsigned char"
=>
"%02x"
,
"unsigned char"
=>
"%02x"
,
"unsigned short"
=>
"%04x"
,
"unsigned short"
=>
"%04x"
,
"unsigned int"
=>
"%08x"
,
"unsigned int"
=>
"%08x"
,
"unsigned long"
=>
"%lx"
,
"void*"
=>
"%p"
,
"void*"
=>
"%p"
,
"time_t"
=>
"%ld (long)"
,
"time_t"
=>
"%ld (long)"
,
"size_t"
=>
"%lu (unsigned long)"
,
"size_t"
=>
"%lu (unsigned long)"
,
...
...
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