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
4192f9aa
Commit
4192f9aa
authored
Aug 24, 2001
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 24, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add stubs for several named pipe functions.
parent
126e6b81
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
106 additions
and
7 deletions
+106
-7
kernel32.spec
dlls/kernel/kernel32.spec
+7
-7
sync.c
dlls/kernel/sync.c
+99
-0
No files found.
dlls/kernel/kernel32.spec
View file @
4192f9aa
...
...
@@ -158,8 +158,8 @@ debug_channels (comm debugstr dll int resource stress thunk toolhelp win32)
@ stdcall BuildCommDCBAndTimeoutsA(str ptr ptr) BuildCommDCBAndTimeoutsA
@ stdcall BuildCommDCBAndTimeoutsW(wstr ptr ptr) BuildCommDCBAndTimeoutsW
@ stdcall BuildCommDCBW(wstr ptr) BuildCommDCBW
@ st
ub
CallNamedPipeA
@ st
ub
CallNamedPipeW
@ st
dcall CallNamedPipeA(str ptr long ptr long ptr long)
CallNamedPipeA
@ st
dcall CallNamedPipeW(wstr ptr long ptr long ptr long)
CallNamedPipeW
@ stub Callback12
@ stub Callback16
@ stub Callback20
...
...
@@ -393,9 +393,9 @@ debug_channels (comm debugstr dll int resource stress thunk toolhelp win32)
@ stdcall GetModuleFileNameW(long ptr long) GetModuleFileNameW
@ stdcall GetModuleHandleA(str) GetModuleHandleA
@ stdcall GetModuleHandleW(wstr) GetModuleHandleW
@ st
ub
GetNamedPipeHandleStateA
@ st
ub
GetNamedPipeHandleStateW
@ st
ub
GetNamedPipeInfo
@ st
dcall GetNamedPipeHandleStateA(long ptr ptr ptr ptr str long)
GetNamedPipeHandleStateA
@ st
dcall GetNamedPipeHandleStateW(long ptr ptr ptr ptr wstr long)
GetNamedPipeHandleStateW
@ st
dcall GetNamedPipeInfo(long ptr ptr ptr ptr)
GetNamedPipeInfo
@ stdcall GetNumberFormatA(long long str ptr ptr long) GetNumberFormatA
@ stdcall GetNumberFormatW(long long wstr ptr ptr long) GetNumberFormatW
@ stdcall GetNumberOfConsoleInputEvents(long ptr) GetNumberOfConsoleInputEvents
...
...
@@ -702,7 +702,7 @@ debug_channels (comm debugstr dll int resource stress thunk toolhelp win32)
@ stdcall SetLocaleInfoA(long long str) SetLocaleInfoA
@ stub SetLocaleInfoW
@ stub SetMailslotInfo
@ st
ub
SetNamedPipeHandleState
@ st
dcall SetNamedPipeHandleState(long ptr ptr ptr)
SetNamedPipeHandleState
@ stdcall SetPriorityClass(long long) SetPriorityClass
@ stdcall SetProcessShutdownParameters(long long) SetProcessShutdownParameters
@ stdcall SetProcessWorkingSetSize(long long long) SetProcessWorkingSetSize
...
...
@@ -739,7 +739,7 @@ debug_channels (comm debugstr dll int resource stress thunk toolhelp win32)
@ stdcall TlsGetValue(long) TlsGetValue
@ stdcall TlsSetValue(long ptr) TlsSetValue
@ stub Toolhelp32ReadProcessMemory
@ st
ub
TransactNamedPipe
@ st
dcall TransactNamedPipe(long ptr long ptr long ptr ptr)
TransactNamedPipe
@ stdcall TransmitCommChar(long long) TransmitCommChar
@ stdcall UTRegister(long str str str ptr ptr ptr) UTRegister
@ stdcall UTUnRegister(long) UTUnRegister
...
...
dlls/kernel/sync.c
View file @
4192f9aa
...
...
@@ -724,3 +724,102 @@ BOOL WINAPI DisconnectNamedPipe(HANDLE hPipe)
return
ret
;
}
/***********************************************************************
* TransactNamedPipe (KERNEL32.@)
*/
BOOL
WINAPI
TransactNamedPipe
(
HANDLE
hPipe
,
LPVOID
lpInput
,
DWORD
dwInputSize
,
LPVOID
lpOutput
,
DWORD
dwOutputSize
,
LPDWORD
lpBytesRead
,
LPOVERLAPPED
lpOverlapped
)
{
FIXME
(
"%d %p %ld %p %ld %p %p
\n
"
,
hPipe
,
lpInput
,
dwInputSize
,
lpOutput
,
dwOutputSize
,
lpBytesRead
,
lpOverlapped
);
if
(
lpBytesRead
)
*
lpBytesRead
=
0
;
return
FALSE
;
}
/***********************************************************************
* GetNamedPipeInfo (KERNEL32.@)
*/
BOOL
WINAPI
GetNamedPipeInfo
(
HANDLE
hNamedPipe
,
LPDWORD
lpFlags
,
LPDWORD
lpOutputBufferSize
,
LPDWORD
lpInputBufferSize
,
LPDWORD
lpMaxInstances
)
{
FIXME
(
"%d %p %p %p %p
\n
"
,
hNamedPipe
,
lpFlags
,
lpOutputBufferSize
,
lpInputBufferSize
,
lpMaxInstances
);
return
FALSE
;
}
/***********************************************************************
* GetNamedPipeHandleStateA (KERNEL32.@)
*/
BOOL
WINAPI
GetNamedPipeHandleStateA
(
HANDLE
hNamedPipe
,
LPDWORD
lpState
,
LPDWORD
lpCurInstances
,
LPDWORD
lpMaxCollectionCount
,
LPDWORD
lpCollectDataTimeout
,
LPSTR
lpUsername
,
DWORD
nUsernameMaxSize
)
{
FIXME
(
"%d %p %p %p %p %p %ld
\n
"
,
hNamedPipe
,
lpState
,
lpCurInstances
,
lpMaxCollectionCount
,
lpCollectDataTimeout
,
lpUsername
,
nUsernameMaxSize
);
return
FALSE
;
}
/***********************************************************************
* GetNamedPipeHandleStateW (KERNEL32.@)
*/
BOOL
WINAPI
GetNamedPipeHandleStateW
(
HANDLE
hNamedPipe
,
LPDWORD
lpState
,
LPDWORD
lpCurInstances
,
LPDWORD
lpMaxCollectionCount
,
LPDWORD
lpCollectDataTimeout
,
LPWSTR
lpUsername
,
DWORD
nUsernameMaxSize
)
{
FIXME
(
"%d %p %p %p %p %p %ld
\n
"
,
hNamedPipe
,
lpState
,
lpCurInstances
,
lpMaxCollectionCount
,
lpCollectDataTimeout
,
lpUsername
,
nUsernameMaxSize
);
return
FALSE
;
}
/***********************************************************************
* SetNamedPipeHandleState (KERNEL32.@)
*/
BOOL
WINAPI
SetNamedPipeHandleState
(
HANDLE
hNamedPipe
,
LPDWORD
lpMode
,
LPDWORD
lpMaxCollectionCount
,
LPDWORD
lpCollectDataTimeout
)
{
FIXME
(
"%d %p %p %p
\n
"
,
hNamedPipe
,
lpMode
,
lpMaxCollectionCount
,
lpCollectDataTimeout
);
return
FALSE
;
}
/***********************************************************************
* CallNamedPipeA (KERNEL32.@)
*/
BOOL
WINAPI
CallNamedPipeA
(
LPCSTR
lpNamedPipeName
,
LPVOID
lpInput
,
DWORD
lpInputSize
,
LPVOID
lpOutput
,
DWORD
lpOutputSize
,
LPDWORD
lpBytesRead
,
DWORD
nTimeout
)
{
FIXME
(
"%s %p %ld %p %ld %p %ld
\n
"
,
debugstr_a
(
lpNamedPipeName
),
lpInput
,
lpInputSize
,
lpOutput
,
lpOutputSize
,
lpBytesRead
,
nTimeout
);
return
FALSE
;
}
/***********************************************************************
* CallNamedPipeW (KERNEL32.@)
*/
BOOL
WINAPI
CallNamedPipeW
(
LPCWSTR
lpNamedPipeName
,
LPVOID
lpInput
,
DWORD
lpInputSize
,
LPVOID
lpOutput
,
DWORD
lpOutputSize
,
LPDWORD
lpBytesRead
,
DWORD
nTimeout
)
{
FIXME
(
"%s %p %ld %p %ld %p %ld
\n
"
,
debugstr_w
(
lpNamedPipeName
),
lpInput
,
lpInputSize
,
lpOutput
,
lpOutputSize
,
lpBytesRead
,
nTimeout
);
return
FALSE
;
}
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