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
f2894533
Commit
f2894533
authored
Jul 11, 2007
by
Huw Davies
Committed by
Alexandre Julliard
Jul 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Swap incorrect use of buffers.
parent
3f9632ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
sync.c
dlls/kernel32/sync.c
+7
-7
No files found.
dlls/kernel32/sync.c
View file @
f2894533
...
...
@@ -1376,25 +1376,25 @@ BOOL WINAPI DisconnectNamedPipe(HANDLE hPipe)
* should be done as a single operation in the wineserver or kernel
*/
BOOL
WINAPI
TransactNamedPipe
(
HANDLE
handle
,
LPVOID
lpInput
,
DWORD
dwInputSize
,
LPVOID
lpOutput
,
DWORD
dwOutputSize
,
LPDWORD
lpBytesRead
,
LPOVERLAPPED
lpO
verlapped
)
HANDLE
handle
,
LPVOID
write_buf
,
DWORD
write_size
,
LPVOID
read_buf
,
DWORD
read_size
,
LPDWORD
bytes_read
,
LPOVERLAPPED
o
verlapped
)
{
BOOL
r
;
DWORD
count
;
TRACE
(
"%p %p %d %p %d %p %p
\n
"
,
handle
,
lpInput
,
dwInputSize
,
lpOutput
,
dwOutputSize
,
lpBytesRead
,
lpO
verlapped
);
handle
,
write_buf
,
write_size
,
read_buf
,
read_size
,
bytes_read
,
o
verlapped
);
if
(
lpO
verlapped
)
if
(
o
verlapped
)
{
FIXME
(
"Doesn't support overlapped operation as yet
\n
"
);
return
FALSE
;
}
r
=
WriteFile
(
handle
,
lpOutput
,
dwOutputS
ize
,
&
count
,
NULL
);
r
=
WriteFile
(
handle
,
write_buf
,
write_s
ize
,
&
count
,
NULL
);
if
(
r
)
r
=
ReadFile
(
handle
,
lpInput
,
dwInputSize
,
lpBytesR
ead
,
NULL
);
r
=
ReadFile
(
handle
,
read_buf
,
read_size
,
bytes_r
ead
,
NULL
);
return
r
;
}
...
...
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