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
401f4b71
Commit
401f4b71
authored
Dec 17, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Make mem_size_t always 64-bit.
parent
992d3cea
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
7 deletions
+9
-7
sync.c
dlls/ntdll/sync.c
+0
-0
virtual.c
dlls/ntdll/virtual.c
+2
-0
server_protocol.h
include/wine/server_protocol.h
+2
-2
protocol.def
server/protocol.def
+1
-1
trace.c
server/trace.c
+0
-0
make_requests
tools/make_requests
+4
-4
No files found.
dlls/ntdll/sync.c
View file @
401f4b71
This diff is collapsed.
Click to expand it.
dlls/ntdll/virtual.c
View file @
401f4b71
...
...
@@ -1967,6 +1967,8 @@ NTSTATUS WINAPI NtQueryVirtualMemory( HANDLE process, LPCVOID addr,
info
->
Protect
=
result
.
virtual_query
.
prot
;
info
->
AllocationProtect
=
result
.
virtual_query
.
alloc_prot
;
info
->
Type
=
result
.
virtual_query
.
alloc_type
;
if
(
info
->
RegionSize
!=
result
.
virtual_query
.
size
)
/* truncated */
return
STATUS_INVALID_PARAMETER
;
/* FIXME */
if
(
res_len
)
*
res_len
=
sizeof
(
*
info
);
}
return
result
.
virtual_query
.
status
;
...
...
include/wine/server_protocol.h
View file @
401f4b71
...
...
@@ -24,7 +24,7 @@ typedef unsigned int data_size_t;
typedef
unsigned
int
ioctl_code_t
;
typedef
unsigned
long
lparam_t
;
typedef
unsigned
long
apc_param_t
;
typedef
unsigned
long
mem_size_t
;
typedef
unsigned
__int64
mem_size_t
;
typedef
unsigned
__int64
file_pos_t
;
struct
request_header
...
...
@@ -5049,6 +5049,6 @@ union generic_reply
struct
set_window_layered_info_reply
set_window_layered_info_reply
;
};
#define SERVER_PROTOCOL_VERSION 3
49
#define SERVER_PROTOCOL_VERSION 3
50
#endif
/* __WINE_WINE_SERVER_PROTOCOL_H */
server/protocol.def
View file @
401f4b71
...
...
@@ -40,7 +40,7 @@ typedef unsigned int data_size_t;
typedef unsigned int ioctl_code_t;
typedef unsigned long lparam_t;
typedef unsigned long apc_param_t;
typedef unsigned
long
mem_size_t;
typedef unsigned
__int64
mem_size_t;
typedef unsigned __int64 file_pos_t;
struct request_header
...
...
server/trace.c
View file @
401f4b71
This diff is collapsed.
Click to expand it.
tools/make_requests
View file @
401f4b71
...
...
@@ -41,12 +41,12 @@ my %formats =
"timeout_t"
=>
[
8
,
8
,
"&dump_timeout"
],
"rectangle_t"
=>
[
16
,
4
,
"&dump_rectangle"
],
"char_info_t"
=>
[
4
,
2
,
"&dump_char_info"
],
"apc_call_t"
=>
[
32
,
4
,
"&dump_apc_call"
],
"apc_result_t"
=>
[
28
,
4
,
"&dump_apc_result"
],
"async_data_t"
=>
[
2
8
,
4
,
"&dump_async_data"
],
"apc_call_t"
=>
[
40
,
8
,
"&dump_apc_call"
],
"apc_result_t"
=>
[
40
,
8
,
"&dump_apc_result"
],
"async_data_t"
=>
[
2
4
,
4
,
"&dump_async_data"
],
"luid_t"
=>
[
8
,
4
,
"&dump_luid"
],
"ioctl_code_t"
=>
[
4
,
4
,
"&dump_ioctl_code"
],
"file_pos_t"
=>
[
8
,
8
,
"&dump_
file_pos
"
],
"file_pos_t"
=>
[
8
,
8
,
"&dump_
uint64
"
],
);
my
@requests
=
();
...
...
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