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
9b7311e7
Commit
9b7311e7
authored
Aug 10, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Add pseudoconsole stubs.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7e1957f0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
0 deletions
+32
-0
kernel32.spec
dlls/kernel32/kernel32.spec
+3
-0
console.c
dlls/kernelbase/console.c
+26
-0
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+3
-0
No files found.
dlls/kernel32/kernel32.spec
View file @
9b7311e7
...
...
@@ -226,6 +226,7 @@
@ stdcall -import CloseHandle(long)
# @ stub ClosePrivateNamespace
@ stdcall CloseProfileUserMapping()
@ stdcall -import ClosePseudoConsole(ptr)
@ stub CloseSystemHandle
@ stdcall CloseThreadpool(ptr) ntdll.TpReleasePool
@ stdcall CloseThreadpoolCleanupGroup(ptr) ntdll.TpReleaseCleanupGroup
...
...
@@ -316,6 +317,7 @@
@ stdcall -import CreateProcessInternalW(long wstr wstr ptr ptr long long ptr wstr ptr ptr ptr)
# @ stub CreateProcessInternalWSecure
@ stdcall -import CreateProcessW(wstr wstr ptr ptr long long ptr wstr ptr ptr)
@ stdcall -import CreatePseudoConsole(long long long long ptr)
@ stdcall -import CreateRemoteThread(long ptr long ptr long long ptr)
@ stdcall -import CreateRemoteThreadEx(long ptr long ptr ptr long ptr ptr)
@ stdcall CreateSemaphoreA(ptr long long str)
...
...
@@ -1287,6 +1289,7 @@
@ stdcall RequestWakeupLatency(long)
@ stdcall -import ResetEvent(long)
@ stdcall -import ResetWriteWatch(ptr long)
@ stdcall -import ResizePseudoConsole(ptr long)
@ stdcall ResolveDelayLoadedAPI(ptr ptr ptr ptr ptr long) ntdll.LdrResolveDelayLoadedAPI
@ stdcall -import ResolveLocaleName(wstr ptr long)
@ stdcall RestoreLastError(long) ntdll.RtlRestoreLastWin32Error
...
...
dlls/kernelbase/console.c
View file @
9b7311e7
...
...
@@ -1584,3 +1584,29 @@ BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleOutputCharacterW( HANDLE handle, LPCWS
HeapFree
(
GetProcessHeap
(),
0
,
params
);
return
ret
;
}
/******************************************************************************
* CreatePseudoConsole (kernelbase.@)
*/
HRESULT
WINAPI
CreatePseudoConsole
(
COORD
size
,
HANDLE
input
,
HANDLE
output
,
DWORD
flags
,
HPCON
*
ret
)
{
FIXME
(
"(%u,%u) %p %p %x %p
\n
"
,
size
.
X
,
size
.
Y
,
input
,
output
,
flags
,
ret
);
return
E_NOTIMPL
;
}
/******************************************************************************
* ClosePseudoConsole (kernelbase.@)
*/
void
WINAPI
ClosePseudoConsole
(
HPCON
handle
)
{
FIXME
(
"%p
\n
"
,
handle
);
}
/******************************************************************************
* ResizePseudoConsole (kernelbase.@)
*/
HRESULT
WINAPI
ResizePseudoConsole
(
HPCON
handle
,
COORD
size
)
{
FIXME
(
"%p (%u,%u)
\n
"
,
handle
,
size
.
X
,
size
.
Y
);
return
E_NOTIMPL
;
}
dlls/kernelbase/kernelbase.spec
View file @
9b7311e7
...
...
@@ -138,6 +138,7 @@
@ stdcall CloseHandle(long)
# @ stub ClosePackageInfo
# @ stub ClosePrivateNamespace
@ stdcall ClosePseudoConsole(ptr)
# @ stub CloseState
# @ stub CloseStateAtom
# @ stub CloseStateChangeNotification
...
...
@@ -211,6 +212,7 @@
@ stdcall CreateProcessInternalA(long str str ptr ptr long long ptr str ptr ptr ptr)
@ stdcall CreateProcessInternalW(long wstr wstr ptr ptr long long ptr wstr ptr ptr ptr)
@ stdcall CreateProcessW(wstr wstr ptr ptr long long ptr wstr ptr ptr)
@ stdcall CreatePseudoConsole(long long long long ptr)
@ stdcall CreateRemoteThread(long ptr long ptr long long ptr)
@ stdcall CreateRemoteThreadEx(long ptr long ptr ptr long ptr ptr)
@ stdcall CreateRestrictedToken(long long long ptr long ptr long ptr ptr)
...
...
@@ -1343,6 +1345,7 @@
@ stdcall ResetEvent(long)
# @ stub ResetState
@ stdcall ResetWriteWatch(ptr long)
@ stdcall ResizePseudoConsole(ptr long)
@ stdcall -import ResolveDelayLoadedAPI(ptr ptr ptr ptr ptr long) LdrResolveDelayLoadedAPI
# @ stub ResolveDelayLoadsFromDll
@ stdcall ResolveLocaleName(wstr ptr long)
...
...
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