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
0c914e47
Commit
0c914e47
authored
Dec 30, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Make atom_t an unsigned int to avoid padding issues.
parent
fa864380
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
class.c
dlls/user32/class.c
+1
-1
server_protocol.h
include/wine/server_protocol.h
+4
-4
protocol.def
server/protocol.def
+3
-3
make_requests
tools/make_requests
+1
-1
No files found.
dlls/user32/class.c
View file @
0c914e47
...
...
@@ -135,7 +135,7 @@ static BOOL set_server_info( HWND hwnd, INT offset, LONG_PTR newval, UINT size )
{
case
GCW_ATOM
:
req
->
flags
=
SET_CLASS_ATOM
;
req
->
atom
=
newval
;
req
->
atom
=
LOWORD
(
newval
)
;
case
GCL_STYLE
:
req
->
flags
=
SET_CLASS_STYLE
;
req
->
style
=
newval
;
...
...
include/wine/server_protocol.h
View file @
0c914e47
...
...
@@ -17,7 +17,7 @@
typedef
unsigned
int
obj_handle_t
;
typedef
unsigned
int
user_handle_t
;
typedef
unsigned
shor
t
atom_t
;
typedef
unsigned
in
t
atom_t
;
typedef
unsigned
int
process_id_t
;
typedef
unsigned
int
thread_id_t
;
typedef
unsigned
int
data_size_t
;
...
...
@@ -148,7 +148,7 @@ typedef __int64 timeout_t;
typedef
struct
{
atom_t
atom
;
short
string
;
int
string
;
lparam_t
data
;
}
property_data_t
;
...
...
@@ -2857,7 +2857,7 @@ struct get_window_info_reply
process_id_t
pid
;
thread_id_t
tid
;
atom_t
atom
;
short
int
is_unicode
;
int
is_unicode
;
};
...
...
@@ -5061,6 +5061,6 @@ union generic_reply
struct
set_window_layered_info_reply
set_window_layered_info_reply
;
};
#define SERVER_PROTOCOL_VERSION 37
6
#define SERVER_PROTOCOL_VERSION 37
7
#endif
/* __WINE_WINE_SERVER_PROTOCOL_H */
server/protocol.def
View file @
0c914e47
...
...
@@ -33,7 +33,7 @@
typedef unsigned int obj_handle_t;
typedef unsigned int user_handle_t;
typedef unsigned
shor
t atom_t;
typedef unsigned
in
t atom_t;
typedef unsigned int process_id_t;
typedef unsigned int thread_id_t;
typedef unsigned int data_size_t;
...
...
@@ -164,7 +164,7 @@ typedef __int64 timeout_t;
typedef struct
{
atom_t atom; /* property atom */
short
string; /* was atom a string originally? */
int
string; /* was atom a string originally? */
lparam_t data; /* data stored in property */
} property_data_t;
...
...
@@ -2106,7 +2106,7 @@ enum message_type
process_id_t pid; /* process owning the window */
thread_id_t tid; /* thread owning the window */
atom_t atom; /* class atom */
short int
is_unicode; /* ANSI or unicode */
int
is_unicode; /* ANSI or unicode */
@END
...
...
tools/make_requests
View file @
0c914e47
...
...
@@ -31,7 +31,7 @@ my %formats =
"unsigned int"
=>
[
4
,
4
,
"%08x"
],
"data_size_t"
=>
[
4
,
4
,
"%u"
],
"obj_handle_t"
=>
[
4
,
4
,
"%04x"
],
"atom_t"
=>
[
2
,
2
,
"%04x"
],
"atom_t"
=>
[
4
,
4
,
"%04x"
],
"user_handle_t"
=>
[
4
,
4
,
"%08x"
],
"process_id_t"
=>
[
4
,
4
,
"%04x"
],
"thread_id_t"
=>
[
4
,
4
,
"%04x"
],
...
...
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