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
c1b4d7d1
Commit
c1b4d7d1
authored
Jan 19, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jan 19, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement TransactNamedPipe for the non-overlapped case.
parent
a5fb277f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
6 deletions
+21
-6
sync.c
dlls/kernel/sync.c
+21
-6
No files found.
dlls/kernel/sync.c
View file @
c1b4d7d1
...
...
@@ -1342,17 +1342,32 @@ BOOL WINAPI DisconnectNamedPipe(HANDLE hPipe)
/***********************************************************************
* TransactNamedPipe (KERNEL32.@)
*
* BUGS
* should be done as a single operation in the wineserver or kernel
*/
BOOL
WINAPI
TransactNamedPipe
(
HANDLE
h
Pip
e
,
LPVOID
lpInput
,
DWORD
dwInputSize
,
LPVOID
lpOutput
,
HANDLE
h
andl
e
,
LPVOID
lpInput
,
DWORD
dwInputSize
,
LPVOID
lpOutput
,
DWORD
dwOutputSize
,
LPDWORD
lpBytesRead
,
LPOVERLAPPED
lpOverlapped
)
{
FIXME
(
"%p %p %ld %p %ld %p %p
\n
"
,
hPipe
,
lpInput
,
dwInputSize
,
lpOutput
,
BOOL
r
;
DWORD
count
;
TRACE
(
"%p %p %ld %p %ld %p %p
\n
"
,
handle
,
lpInput
,
dwInputSize
,
lpOutput
,
dwOutputSize
,
lpBytesRead
,
lpOverlapped
);
if
(
lpBytesRead
)
*
lpBytesRead
=
0
;
return
FALSE
;
if
(
lpOverlapped
)
{
FIXME
(
"Doesn't support overlapped operation as yet
\n
"
);
return
FALSE
;
}
r
=
WriteFile
(
handle
,
lpOutput
,
dwOutputSize
,
&
count
,
NULL
);
if
(
r
)
r
=
ReadFile
(
handle
,
lpInput
,
dwInputSize
,
lpBytesRead
,
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