server: Use unsigned long for request types that are 64bit in win64.

This commit is contained in:
Mike McCormack 2006-06-07 18:33:09 +09:00 committed by Alexandre Julliard
parent 202ef6901e
commit f386950fdd
4 changed files with 17 additions and 16 deletions

View File

@ -2194,8 +2194,8 @@ struct send_message_request
int flags;
user_handle_t win;
unsigned int msg;
unsigned int wparam;
unsigned int lparam;
unsigned long wparam;
unsigned long lparam;
int x;
int y;
unsigned int time;
@ -2250,8 +2250,8 @@ struct get_message_reply
int type;
user_handle_t win;
unsigned int msg;
unsigned int wparam;
unsigned int lparam;
unsigned long wparam;
unsigned long lparam;
int x;
int y;
user_handle_t hook;
@ -2316,7 +2316,7 @@ struct set_win_timer_request
unsigned int msg;
unsigned int id;
unsigned int rate;
unsigned int lparam;
unsigned long lparam;
};
struct set_win_timer_reply
{
@ -4382,6 +4382,6 @@ union generic_reply
struct query_symlink_reply query_symlink_reply;
};
#define SERVER_PROTOCOL_VERSION 234
#define SERVER_PROTOCOL_VERSION 235
#endif /* __WINE_WINE_SERVER_PROTOCOL_H */

View File

@ -1566,8 +1566,8 @@ enum char_info_mode
int flags; /* message flags (see below) */
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 */
@ -1607,8 +1607,8 @@ enum message_type
int type; /* message type */
user_handle_t win; /* window handle */
unsigned int msg; /* message code */
unsigned int wparam; /* parameters (callback function for MSG_CALLBACK_RESULT) */
unsigned int lparam; /* parameters (result for MSG_CALLBACK_RESULT) */
unsigned long wparam; /* parameters (callback function for MSG_CALLBACK_RESULT) */
unsigned long lparam; /* parameters (result for MSG_CALLBACK_RESULT) */
int x; /* x position */
int y; /* y position */
user_handle_t hook; /* winevent hook handle */
@ -1654,7 +1654,7 @@ enum message_type
unsigned int msg; /* message to post */
unsigned int id; /* timer id */
unsigned int rate; /* timer rate in ms */
unsigned int lparam; /* message lparam (callback proc) */
unsigned long lparam; /* message lparam (callback proc) */
@REPLY
unsigned int id; /* timer id */
@END

View File

@ -2080,8 +2080,8 @@ static void dump_send_message_request( const struct send_message_request *req )
fprintf( stderr, " flags=%d,", req->flags );
fprintf( stderr, " win=%p,", req->win );
fprintf( stderr, " msg=%08x,", req->msg );
fprintf( stderr, " wparam=%08x,", req->wparam );
fprintf( stderr, " lparam=%08x,", req->lparam );
fprintf( stderr, " wparam=%lx,", req->wparam );
fprintf( stderr, " lparam=%lx,", req->lparam );
fprintf( stderr, " x=%d,", req->x );
fprintf( stderr, " y=%d,", req->y );
fprintf( stderr, " time=%08x,", req->time );
@ -2111,8 +2111,8 @@ static void dump_get_message_reply( const struct get_message_reply *req )
fprintf( stderr, " type=%d,", req->type );
fprintf( stderr, " win=%p,", req->win );
fprintf( stderr, " msg=%08x,", req->msg );
fprintf( stderr, " wparam=%08x,", req->wparam );
fprintf( stderr, " lparam=%08x,", req->lparam );
fprintf( stderr, " wparam=%lx,", req->wparam );
fprintf( stderr, " lparam=%lx,", req->lparam );
fprintf( stderr, " x=%d,", req->x );
fprintf( stderr, " y=%d,", req->y );
fprintf( stderr, " hook=%p,", req->hook );
@ -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, " id=%08x,", req->id );
fprintf( stderr, " rate=%08x,", req->rate );
fprintf( stderr, " lparam=%08x", req->lparam );
fprintf( stderr, " lparam=%lx", req->lparam );
}
static void dump_set_win_timer_reply( const struct set_win_timer_reply *req )

View File

@ -29,6 +29,7 @@ my %formats =
"unsigned char" => "%02x",
"unsigned short"=> "%04x",
"unsigned int" => "%08x",
"unsigned long" => "%lx",
"void*" => "%p",
"time_t" => "%ld (long)",
"size_t" => "%lu (unsigned long)",