kernelbase: Add pseudoconsole stubs.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-08-10 16:05:58 +02:00 committed by Alexandre Julliard
parent 7e1957f097
commit 9b7311e709
3 changed files with 32 additions and 0 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -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)