kernel32: Move console functions to kernelbase.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-09-09 22:17:58 +02:00
parent f3960c32f1
commit 55e9b666a0
6 changed files with 1636 additions and 1799 deletions

File diff suppressed because it is too large Load Diff

View File

@ -159,7 +159,7 @@
@ stdcall ApplicationRecoveryInProgress(ptr) @ stdcall ApplicationRecoveryInProgress(ptr)
@ stdcall -import AreFileApisANSI() @ stdcall -import AreFileApisANSI()
@ stdcall AssignProcessToJobObject(ptr ptr) @ stdcall AssignProcessToJobObject(ptr ptr)
@ stdcall AttachConsole(long) @ stdcall -import AttachConsole(long)
@ stdcall BackupRead(ptr ptr long ptr long long ptr) @ stdcall BackupRead(ptr ptr long ptr long long ptr)
@ stdcall BackupSeek(ptr long long ptr ptr ptr) @ stdcall BackupSeek(ptr long long ptr ptr ptr)
@ stdcall BackupWrite(ptr ptr long ptr long long ptr) @ stdcall BackupWrite(ptr ptr long ptr long long ptr)
@ -267,7 +267,7 @@
@ stdcall -import CreateActCtxW(ptr) @ stdcall -import CreateActCtxW(ptr)
# @ stub CreateBoundaryDescriptorA # @ stub CreateBoundaryDescriptorA
# @ stub CreateBoundaryDescriptorW # @ stub CreateBoundaryDescriptorW
@ stdcall CreateConsoleScreenBuffer(long long ptr long ptr) @ stdcall -import CreateConsoleScreenBuffer(long long ptr long ptr)
@ stdcall -import CreateDirectoryA(str ptr) @ stdcall -import CreateDirectoryA(str ptr)
@ stdcall CreateDirectoryExA(str str ptr) @ stdcall CreateDirectoryExA(str str ptr)
@ stdcall -import CreateDirectoryExW(wstr wstr ptr) @ stdcall -import CreateDirectoryExW(wstr wstr ptr)
@ -467,9 +467,9 @@
@ stdcall FileTimeToDosDateTime(ptr ptr ptr) @ stdcall FileTimeToDosDateTime(ptr ptr ptr)
@ stdcall FileTimeToLocalFileTime(ptr ptr) @ stdcall FileTimeToLocalFileTime(ptr ptr)
@ stdcall FileTimeToSystemTime(ptr ptr) @ stdcall FileTimeToSystemTime(ptr ptr)
@ stdcall FillConsoleOutputAttribute(long long long long ptr) @ stdcall -import FillConsoleOutputAttribute(long long long long ptr)
@ stdcall FillConsoleOutputCharacterA(long long long long ptr) @ stdcall -import FillConsoleOutputCharacterA(long long long long ptr)
@ stdcall FillConsoleOutputCharacterW(long long long long ptr) @ stdcall -import FillConsoleOutputCharacterW(long long long long ptr)
@ stdcall -import FindActCtxSectionGuid(long ptr long ptr ptr) @ stdcall -import FindActCtxSectionGuid(long ptr long ptr ptr)
@ stdcall FindActCtxSectionStringA(long ptr long str ptr) @ stdcall FindActCtxSectionStringA(long ptr long str ptr)
@ stdcall -import FindActCtxSectionStringW(long ptr long wstr ptr) @ stdcall -import FindActCtxSectionStringW(long ptr long wstr ptr)
@ -535,7 +535,7 @@
@ stdcall -i386 -private FreeSLCallback(long) krnl386.exe16.FreeSLCallback @ stdcall -i386 -private FreeSLCallback(long) krnl386.exe16.FreeSLCallback
@ stdcall FreeUserPhysicalPages(long ptr ptr) @ stdcall FreeUserPhysicalPages(long ptr ptr)
@ stub FreeVirtualBuffer @ stub FreeVirtualBuffer
@ stdcall GenerateConsoleCtrlEvent(long long) @ stdcall -import GenerateConsoleCtrlEvent(long long)
@ stdcall -i386 -private Get16DLLAddress(long str) krnl386.exe16.Get16DLLAddress @ stdcall -i386 -private Get16DLLAddress(long str) krnl386.exe16.Get16DLLAddress
@ stdcall GetACP() @ stdcall GetACP()
@ stdcall GetActiveProcessorCount(long) @ stdcall GetActiveProcessorCount(long)
@ -588,35 +588,35 @@
@ stdcall GetConsoleAliasesLengthA(str) @ stdcall GetConsoleAliasesLengthA(str)
@ stdcall GetConsoleAliasesLengthW(wstr) @ stdcall GetConsoleAliasesLengthW(wstr)
@ stub GetConsoleAliasesW @ stub GetConsoleAliasesW
@ stdcall GetConsoleCP() @ stdcall -import GetConsoleCP()
@ stub GetConsoleCharType @ stub GetConsoleCharType
@ stdcall GetConsoleCommandHistoryA(long long long) @ stdcall GetConsoleCommandHistoryA(long long long)
@ stdcall GetConsoleCommandHistoryLengthA(str) @ stdcall GetConsoleCommandHistoryLengthA(str)
@ stdcall GetConsoleCommandHistoryLengthW(wstr) @ stdcall GetConsoleCommandHistoryLengthW(wstr)
@ stdcall GetConsoleCommandHistoryW(long long long) @ stdcall GetConsoleCommandHistoryW(long long long)
@ stdcall GetConsoleCursorInfo(long ptr) @ stdcall -import GetConsoleCursorInfo(long ptr)
@ stub GetConsoleCursorMode @ stub GetConsoleCursorMode
@ stdcall GetConsoleDisplayMode(ptr) @ stdcall GetConsoleDisplayMode(ptr)
@ stdcall GetConsoleFontInfo(ptr long long ptr) @ stdcall GetConsoleFontInfo(ptr long long ptr)
@ stdcall GetConsoleFontSize(long long) @ stdcall GetConsoleFontSize(long long)
@ stub GetConsoleHardwareState @ stub GetConsoleHardwareState
# @ stub GetConsoleHistoryInfo # @ stub GetConsoleHistoryInfo
@ stdcall GetConsoleInputExeNameA(long ptr) @ stdcall -import GetConsoleInputExeNameA(long ptr)
@ stdcall GetConsoleInputExeNameW(long ptr) @ stdcall -import GetConsoleInputExeNameW(long ptr)
@ stdcall GetConsoleInputWaitHandle() @ stdcall GetConsoleInputWaitHandle()
@ stdcall GetConsoleKeyboardLayoutNameA(ptr) @ stdcall GetConsoleKeyboardLayoutNameA(ptr)
@ stdcall GetConsoleKeyboardLayoutNameW(ptr) @ stdcall GetConsoleKeyboardLayoutNameW(ptr)
@ stdcall GetConsoleMode(long ptr) @ stdcall -import GetConsoleMode(long ptr)
@ stub GetConsoleNlsMode @ stub GetConsoleNlsMode
# @ stub GetConsoleOriginalTitleA # @ stub GetConsoleOriginalTitleA
# @ stub GetConsoleOriginalTitleW # @ stub GetConsoleOriginalTitleW
@ stdcall GetConsoleOutputCP() @ stdcall -import GetConsoleOutputCP()
@ stdcall GetConsoleProcessList(ptr long) @ stdcall GetConsoleProcessList(ptr long)
@ stdcall GetConsoleScreenBufferInfo(long ptr) @ stdcall -import GetConsoleScreenBufferInfo(long ptr)
@ stdcall GetConsoleScreenBufferInfoEx(long ptr) @ stdcall -import GetConsoleScreenBufferInfoEx(long ptr)
# @ stub GetConsoleSelectionInfo # @ stub GetConsoleSelectionInfo
@ stdcall GetConsoleTitleA(ptr long) @ stdcall GetConsoleTitleA(ptr long)
@ stdcall GetConsoleTitleW(ptr long) @ stdcall -import GetConsoleTitleW(ptr long)
@ stdcall GetConsoleWindow() @ stdcall GetConsoleWindow()
@ stdcall GetCurrencyFormatA(long long str ptr ptr long) @ stdcall GetCurrencyFormatA(long long str ptr ptr long)
@ stdcall GetCurrencyFormatEx(wstr long wstr ptr ptr long) @ stdcall GetCurrencyFormatEx(wstr long wstr ptr ptr long)
@ -699,7 +699,7 @@
@ stub -i386 GetLSCallbackTarget @ stub -i386 GetLSCallbackTarget
@ stub -i386 GetLSCallbackTemplate @ stub -i386 GetLSCallbackTemplate
@ stdcall GetLargePageMinimum() @ stdcall GetLargePageMinimum()
@ stdcall GetLargestConsoleWindowSize(long) @ stdcall -import GetLargestConsoleWindowSize(long)
@ stdcall -import GetLastError() @ stdcall -import GetLastError()
@ stub GetLinguistLangSize @ stub GetLinguistLangSize
@ stdcall GetLocalTime(ptr) @ stdcall GetLocalTime(ptr)
@ -756,7 +756,7 @@
@ stdcall GetNumberFormatEx(wstr long wstr ptr ptr long) @ stdcall GetNumberFormatEx(wstr long wstr ptr ptr long)
@ stdcall GetNumberFormatW(long long wstr ptr ptr long) @ stdcall GetNumberFormatW(long long wstr ptr ptr long)
@ stdcall GetNumberOfConsoleFonts() @ stdcall GetNumberOfConsoleFonts()
@ stdcall GetNumberOfConsoleInputEvents(long ptr) @ stdcall -import GetNumberOfConsoleInputEvents(long ptr)
@ stdcall GetNumberOfConsoleMouseButtons(ptr) @ stdcall GetNumberOfConsoleMouseButtons(ptr)
@ stdcall GetOEMCP() @ stdcall GetOEMCP()
@ stdcall -import GetOverlappedResult(long ptr ptr long) @ stdcall -import GetOverlappedResult(long ptr ptr long)
@ -1136,8 +1136,8 @@
@ stdcall -import OpenWaitableTimerW(long long wstr) @ stdcall -import OpenWaitableTimerW(long long wstr)
@ stdcall -import OutputDebugStringA(str) @ stdcall -import OutputDebugStringA(str)
@ stdcall -import OutputDebugStringW(wstr) @ stdcall -import OutputDebugStringW(wstr)
@ stdcall PeekConsoleInputA(ptr ptr long ptr) @ stdcall -import PeekConsoleInputA(ptr ptr long ptr)
@ stdcall PeekConsoleInputW(ptr ptr long ptr) @ stdcall -import PeekConsoleInputW(ptr ptr long ptr)
@ stdcall -import PeekNamedPipe(long ptr long ptr ptr ptr) @ stdcall -import PeekNamedPipe(long ptr long ptr ptr ptr)
@ stdcall -import PostQueuedCompletionStatus(long long ptr ptr) @ stdcall -import PostQueuedCompletionStatus(long long ptr ptr)
@ stdcall PowerClearRequest(long long) @ stdcall PowerClearRequest(long long)
@ -1183,16 +1183,16 @@
@ stdcall -import QueueUserWorkItem(ptr ptr long) @ stdcall -import QueueUserWorkItem(ptr ptr long)
@ stdcall -import RaiseException(long long long ptr) @ stdcall -import RaiseException(long long long ptr)
# @ stub RaiseFailFastException # @ stub RaiseFailFastException
@ stdcall ReadConsoleA(long ptr long ptr ptr) @ stdcall -import ReadConsoleA(long ptr long ptr ptr)
@ stdcall ReadConsoleInputA(long ptr long ptr) @ stdcall -import ReadConsoleInputA(long ptr long ptr)
@ stub ReadConsoleInputExA @ stub ReadConsoleInputExA
@ stub ReadConsoleInputExW @ stub ReadConsoleInputExW
@ stdcall ReadConsoleInputW(long ptr long ptr) @ stdcall ReadConsoleInputW(long ptr long ptr)
@ stdcall ReadConsoleOutputA(long ptr long long ptr) @ stdcall -import ReadConsoleOutputA(long ptr long long ptr)
@ stdcall ReadConsoleOutputAttribute(long ptr long long ptr) @ stdcall -import ReadConsoleOutputAttribute(long ptr long long ptr)
@ stdcall ReadConsoleOutputCharacterA(long ptr long long ptr) @ stdcall -import ReadConsoleOutputCharacterA(long ptr long long ptr)
@ stdcall ReadConsoleOutputCharacterW(long ptr long long ptr) @ stdcall -import ReadConsoleOutputCharacterW(long ptr long long ptr)
@ stdcall ReadConsoleOutputW(long ptr long long ptr) @ stdcall -import ReadConsoleOutputW(long ptr long long ptr)
@ stdcall ReadConsoleW(long ptr long ptr ptr) @ stdcall ReadConsoleW(long ptr long ptr ptr)
@ stdcall -import ReadDirectoryChangesW(long ptr long long long ptr ptr ptr) @ stdcall -import ReadDirectoryChangesW(long ptr long long long ptr ptr ptr)
@ stdcall -import ReadFile(long ptr long ptr ptr) @ stdcall -import ReadFile(long ptr long ptr ptr)
@ -1322,8 +1322,8 @@
@ stdcall -i386 -private -norelay SUnMapLS_IP_EBP_36() krnl386.exe16.SUnMapLS_IP_EBP_36 @ stdcall -i386 -private -norelay SUnMapLS_IP_EBP_36() krnl386.exe16.SUnMapLS_IP_EBP_36
@ stdcall -i386 -private -norelay SUnMapLS_IP_EBP_40() krnl386.exe16.SUnMapLS_IP_EBP_40 @ stdcall -i386 -private -norelay SUnMapLS_IP_EBP_40() krnl386.exe16.SUnMapLS_IP_EBP_40
@ stdcall -i386 -private -norelay SUnMapLS_IP_EBP_8() krnl386.exe16.SUnMapLS_IP_EBP_8 @ stdcall -i386 -private -norelay SUnMapLS_IP_EBP_8() krnl386.exe16.SUnMapLS_IP_EBP_8
@ stdcall ScrollConsoleScreenBufferA(long ptr ptr ptr ptr) @ stdcall -import ScrollConsoleScreenBufferA(long ptr ptr ptr ptr)
@ stdcall ScrollConsoleScreenBufferW(long ptr ptr ptr ptr) @ stdcall -import ScrollConsoleScreenBufferW(long ptr ptr ptr ptr)
@ stdcall SearchPathA(str str str long ptr ptr) @ stdcall SearchPathA(str str str long ptr ptr)
@ stdcall SearchPathW(wstr wstr wstr long ptr ptr) @ stdcall SearchPathW(wstr wstr wstr long ptr ptr)
@ stdcall SetCPGlobal(long) @ stdcall SetCPGlobal(long)
@ -1340,38 +1340,38 @@
@ stdcall SetComputerNameExA(long str) @ stdcall SetComputerNameExA(long str)
@ stdcall SetComputerNameExW(long wstr) @ stdcall SetComputerNameExW(long wstr)
@ stdcall SetComputerNameW(wstr) @ stdcall SetComputerNameW(wstr)
@ stdcall SetConsoleActiveScreenBuffer(long) @ stdcall -import SetConsoleActiveScreenBuffer(long)
@ stdcall SetConsoleCP(long) @ stdcall -import SetConsoleCP(long)
# @ stub SetConsoleHistoryInfo # @ stub SetConsoleHistoryInfo
@ stub SetConsoleCommandHistoryMode @ stub SetConsoleCommandHistoryMode
@ stdcall SetConsoleCtrlHandler(ptr long) @ stdcall SetConsoleCtrlHandler(ptr long)
@ stub SetConsoleCursor @ stub SetConsoleCursor
@ stdcall SetConsoleCursorInfo(long ptr) @ stdcall -import SetConsoleCursorInfo(long ptr)
@ stub SetConsoleCursorMode @ stub SetConsoleCursorMode
@ stdcall SetConsoleCursorPosition(long long) @ stdcall -import SetConsoleCursorPosition(long long)
@ stdcall SetConsoleDisplayMode(long long ptr) @ stdcall SetConsoleDisplayMode(long long ptr)
@ stdcall SetConsoleFont(long long) @ stdcall SetConsoleFont(long long)
@ stub SetConsoleHardwareState @ stub SetConsoleHardwareState
@ stdcall SetConsoleIcon(ptr) @ stdcall SetConsoleIcon(ptr)
@ stdcall SetConsoleInputExeNameA(str) @ stdcall -import SetConsoleInputExeNameA(str)
@ stdcall SetConsoleInputExeNameW(wstr) @ stdcall -import SetConsoleInputExeNameW(wstr)
@ stdcall SetConsoleKeyShortcuts(long long ptr long) @ stdcall SetConsoleKeyShortcuts(long long ptr long)
@ stub SetConsoleLocalEUDC @ stub SetConsoleLocalEUDC
@ stub SetConsoleMaximumWindowSize @ stub SetConsoleMaximumWindowSize
@ stub SetConsoleMenuClose @ stub SetConsoleMenuClose
@ stdcall SetConsoleMode(long long) @ stdcall -import SetConsoleMode(long long)
@ stub SetConsoleNlsMode @ stub SetConsoleNlsMode
@ stub SetConsoleNumberOfCommandsA @ stub SetConsoleNumberOfCommandsA
@ stub SetConsoleNumberOfCommandsW @ stub SetConsoleNumberOfCommandsW
@ stub SetConsoleOS2OemFormat @ stub SetConsoleOS2OemFormat
@ stdcall SetConsoleOutputCP(long) @ stdcall -import SetConsoleOutputCP(long)
@ stub SetConsolePalette @ stub SetConsolePalette
@ stdcall SetConsoleScreenBufferInfoEx(long ptr) @ stdcall -import SetConsoleScreenBufferInfoEx(long ptr)
@ stdcall SetConsoleScreenBufferSize(long long) @ stdcall -import SetConsoleScreenBufferSize(long long)
@ stdcall SetConsoleTextAttribute(long long) @ stdcall -import SetConsoleTextAttribute(long long)
@ stdcall SetConsoleTitleA(str) @ stdcall SetConsoleTitleA(str)
@ stdcall SetConsoleTitleW(wstr) @ stdcall -import SetConsoleTitleW(wstr)
@ stdcall SetConsoleWindowInfo(long long ptr) @ stdcall -import SetConsoleWindowInfo(long long ptr)
@ stdcall SetCriticalSectionSpinCount(ptr long) ntdll.RtlSetCriticalSectionSpinCount @ stdcall SetCriticalSectionSpinCount(ptr long) ntdll.RtlSetCriticalSectionSpinCount
@ stdcall SetCurrentConsoleFontEx(long long ptr) @ stdcall SetCurrentConsoleFontEx(long long ptr)
@ stdcall SetCurrentDirectoryA(str) @ stdcall SetCurrentDirectoryA(str)
@ -1607,16 +1607,16 @@
@ stdcall -import Wow64RevertWow64FsRedirection(ptr) @ stdcall -import Wow64RevertWow64FsRedirection(ptr)
@ stdcall Wow64SetThreadContext(long ptr) @ stdcall Wow64SetThreadContext(long ptr)
# @ stub Wow64SuspendThread # @ stub Wow64SuspendThread
@ stdcall WriteConsoleA(long ptr long ptr ptr) @ stdcall -import WriteConsoleA(long ptr long ptr ptr)
@ stdcall WriteConsoleInputA(long ptr long ptr) @ stdcall -import WriteConsoleInputA(long ptr long ptr)
@ stub WriteConsoleInputVDMA @ stub WriteConsoleInputVDMA
@ stub WriteConsoleInputVDMW @ stub WriteConsoleInputVDMW
@ stdcall WriteConsoleInputW(long ptr long ptr) @ stdcall -import WriteConsoleInputW(long ptr long ptr)
@ stdcall WriteConsoleOutputA(long ptr long long ptr) @ stdcall -import WriteConsoleOutputA(long ptr long long ptr)
@ stdcall WriteConsoleOutputAttribute(long ptr long long ptr) @ stdcall -import WriteConsoleOutputAttribute(long ptr long long ptr)
@ stdcall WriteConsoleOutputCharacterA(long ptr long long ptr) @ stdcall -import WriteConsoleOutputCharacterA(long ptr long long ptr)
@ stdcall WriteConsoleOutputCharacterW(long ptr long long ptr) @ stdcall -import WriteConsoleOutputCharacterW(long ptr long long ptr)
@ stdcall WriteConsoleOutputW(long ptr long long ptr) @ stdcall -import WriteConsoleOutputW(long ptr long long ptr)
@ stdcall WriteConsoleW(long ptr long ptr ptr) @ stdcall WriteConsoleW(long ptr long ptr ptr)
@ stdcall -import WriteFile(long ptr long ptr ptr) @ stdcall -import WriteFile(long ptr long ptr ptr)
@ stdcall -import WriteFileEx(long ptr long ptr ptr) @ stdcall -import WriteFileEx(long ptr long ptr ptr)

View File

@ -4,6 +4,7 @@ IMPORTS = uuid ntdll winecrt0 kernel32
EXTRADLLFLAGS = -nodefaultlibs -nostartfiles -mno-cygwin EXTRADLLFLAGS = -nodefaultlibs -nostartfiles -mno-cygwin
C_SRCS = \ C_SRCS = \
console.c \
debug.c \ debug.c \
file.c \ file.c \
loader.c \ loader.c \

1533
dlls/kernelbase/console.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -67,7 +67,7 @@
@ stdcall AreFileApisANSI() @ stdcall AreFileApisANSI()
# @ stub AreThereVisibleLogoffScriptsInternal # @ stub AreThereVisibleLogoffScriptsInternal
# @ stub AreThereVisibleShutdownScriptsInternal # @ stub AreThereVisibleShutdownScriptsInternal
@ stdcall AttachConsole(long) kernel32.AttachConsole @ stdcall AttachConsole(long)
@ stub BaseCheckAppcompatCache @ stub BaseCheckAppcompatCache
# @ stub BaseCheckAppcompatCacheEx # @ stub BaseCheckAppcompatCacheEx
@ stub BaseCleanupAppcompatCacheSupport @ stub BaseCleanupAppcompatCacheSupport
@ -174,7 +174,7 @@
@ stdcall CreateActCtxW(ptr) @ stdcall CreateActCtxW(ptr)
# @ stub CreateAppContainerToken # @ stub CreateAppContainerToken
# @ stub CreateBoundaryDescriptorW # @ stub CreateBoundaryDescriptorW
@ stdcall CreateConsoleScreenBuffer(long long ptr long ptr) kernel32.CreateConsoleScreenBuffer @ stdcall CreateConsoleScreenBuffer(long long ptr long ptr)
@ stdcall CreateDirectoryA(str ptr) @ stdcall CreateDirectoryA(str ptr)
@ stdcall CreateDirectoryExW(wstr wstr ptr) @ stdcall CreateDirectoryExW(wstr wstr ptr)
@ stdcall CreateDirectoryW(wstr ptr) @ stdcall CreateDirectoryW(wstr ptr)
@ -345,9 +345,9 @@
@ stdcall FatalAppExitW(long wstr) @ stdcall FatalAppExitW(long wstr)
@ stdcall FileTimeToLocalFileTime(ptr ptr) kernel32.FileTimeToLocalFileTime @ stdcall FileTimeToLocalFileTime(ptr ptr) kernel32.FileTimeToLocalFileTime
@ stdcall FileTimeToSystemTime(ptr ptr) kernel32.FileTimeToSystemTime @ stdcall FileTimeToSystemTime(ptr ptr) kernel32.FileTimeToSystemTime
@ stdcall FillConsoleOutputAttribute(long long long long ptr) kernel32.FillConsoleOutputAttribute @ stdcall FillConsoleOutputAttribute(long long long long ptr)
@ stdcall FillConsoleOutputCharacterA(long long long long ptr) kernel32.FillConsoleOutputCharacterA @ stdcall FillConsoleOutputCharacterA(long long long long ptr)
@ stdcall FillConsoleOutputCharacterW(long long long long ptr) kernel32.FillConsoleOutputCharacterW @ stdcall FillConsoleOutputCharacterW(long long long long ptr)
@ stdcall FindActCtxSectionGuid(long ptr long ptr ptr) @ stdcall FindActCtxSectionGuid(long ptr long ptr ptr)
@ stdcall FindActCtxSectionStringW(long ptr long wstr ptr) @ stdcall FindActCtxSectionStringW(long ptr long wstr ptr)
@ stdcall FindClose(long) kernel32.FindClose @ stdcall FindClose(long) kernel32.FindClose
@ -389,7 +389,7 @@
# @ stub FormatApplicationUserModelId # @ stub FormatApplicationUserModelId
@ stdcall FormatMessageA(long ptr long long ptr long ptr) kernel32.FormatMessageA @ stdcall FormatMessageA(long ptr long long ptr long ptr) kernel32.FormatMessageA
@ stdcall FormatMessageW(long ptr long long ptr long ptr) kernel32.FormatMessageW @ stdcall FormatMessageW(long ptr long long ptr long ptr) kernel32.FormatMessageW
@ stdcall FreeConsole() kernel32.FreeConsole @ stdcall FreeConsole()
@ stdcall FreeEnvironmentStringsA(ptr) FreeEnvironmentStringsW @ stdcall FreeEnvironmentStringsA(ptr) FreeEnvironmentStringsW
@ stdcall FreeEnvironmentStringsW(ptr) @ stdcall FreeEnvironmentStringsW(ptr)
# @ stub FreeGPOListInternalA # @ stub FreeGPOListInternalA
@ -400,7 +400,7 @@
@ stdcall FreeResource(long) @ stdcall FreeResource(long)
@ stdcall FreeSid(ptr) @ stdcall FreeSid(ptr)
@ stdcall FreeUserPhysicalPages(long ptr ptr) kernel32.FreeUserPhysicalPages @ stdcall FreeUserPhysicalPages(long ptr ptr) kernel32.FreeUserPhysicalPages
@ stdcall GenerateConsoleCtrlEvent(long long) kernel32.GenerateConsoleCtrlEvent @ stdcall GenerateConsoleCtrlEvent(long long)
# @ stub GenerateGPNotificationInternal # @ stub GenerateGPNotificationInternal
@ stdcall GetACP() kernel32.GetACP @ stdcall GetACP() kernel32.GetACP
@ stdcall GetAcceptLanguagesA(ptr ptr) @ stdcall GetAcceptLanguagesA(ptr ptr)
@ -439,15 +439,15 @@
@ stdcall GetCompressedFileSizeW(long ptr) @ stdcall GetCompressedFileSizeW(long ptr)
@ stdcall GetComputerNameExA(long ptr ptr) kernel32.GetComputerNameExA @ stdcall GetComputerNameExA(long ptr ptr) kernel32.GetComputerNameExA
@ stdcall GetComputerNameExW(long ptr ptr) kernel32.GetComputerNameExW @ stdcall GetComputerNameExW(long ptr ptr) kernel32.GetComputerNameExW
@ stdcall GetConsoleCP() kernel32.GetConsoleCP @ stdcall GetConsoleCP()
@ stdcall GetConsoleCursorInfo(long ptr) kernel32.GetConsoleCursorInfo @ stdcall GetConsoleCursorInfo(long ptr)
@ stdcall GetConsoleInputExeNameA(long ptr) kernel32.GetConsoleInputExeNameA @ stdcall GetConsoleInputExeNameA(long ptr)
@ stdcall GetConsoleInputExeNameW(long ptr) kernel32.GetConsoleInputExeNameW @ stdcall GetConsoleInputExeNameW(long ptr)
@ stdcall GetConsoleMode(long ptr) kernel32.GetConsoleMode @ stdcall GetConsoleMode(long ptr)
@ stdcall GetConsoleOutputCP() kernel32.GetConsoleOutputCP @ stdcall GetConsoleOutputCP()
@ stdcall GetConsoleScreenBufferInfo(long ptr) kernel32.GetConsoleScreenBufferInfo @ stdcall GetConsoleScreenBufferInfo(long ptr)
@ stdcall GetConsoleScreenBufferInfoEx(long ptr) kernel32.GetConsoleScreenBufferInfoEx @ stdcall GetConsoleScreenBufferInfoEx(long ptr)
@ stdcall GetConsoleTitleW(ptr long) kernel32.GetConsoleTitleW @ stdcall GetConsoleTitleW(ptr long)
@ stdcall GetCurrencyFormatEx(wstr long wstr ptr ptr long) kernel32.GetCurrencyFormatEx @ stdcall GetCurrencyFormatEx(wstr long wstr ptr ptr long) kernel32.GetCurrencyFormatEx
@ stdcall GetCurrencyFormatW(long long wstr ptr ptr long) kernel32.GetCurrencyFormatW @ stdcall GetCurrencyFormatW(long long wstr ptr ptr long) kernel32.GetCurrencyFormatW
@ stdcall GetCurrentActCtx(ptr) @ stdcall GetCurrentActCtx(ptr)
@ -537,7 +537,7 @@
# @ stub GetIsEdpEnabled # @ stub GetIsEdpEnabled
@ stdcall GetKernelObjectSecurity(long long ptr long ptr) @ stdcall GetKernelObjectSecurity(long long ptr long ptr)
@ stdcall GetLargePageMinimum() kernel32.GetLargePageMinimum @ stdcall GetLargePageMinimum() kernel32.GetLargePageMinimum
@ stdcall GetLargestConsoleWindowSize(long) kernel32.GetLargestConsoleWindowSize @ stdcall GetLargestConsoleWindowSize(long)
@ stdcall GetLastError() kernelbase_GetLastError @ stdcall GetLastError() kernelbase_GetLastError
@ stdcall GetLengthSid(ptr) @ stdcall GetLengthSid(ptr)
@ stdcall GetLocalTime(ptr) kernel32.GetLocalTime @ stdcall GetLocalTime(ptr) kernel32.GetLocalTime
@ -580,7 +580,7 @@
@ stdcall GetNumaProximityNodeEx(long ptr) kernel32.GetNumaProximityNodeEx @ stdcall GetNumaProximityNodeEx(long ptr) kernel32.GetNumaProximityNodeEx
@ stdcall GetNumberFormatEx(wstr long wstr ptr ptr long) kernel32.GetNumberFormatEx @ stdcall GetNumberFormatEx(wstr long wstr ptr ptr long) kernel32.GetNumberFormatEx
@ stdcall GetNumberFormatW(long long wstr ptr ptr long) kernel32.GetNumberFormatW @ stdcall GetNumberFormatW(long long wstr ptr ptr long) kernel32.GetNumberFormatW
@ stdcall GetNumberOfConsoleInputEvents(long ptr) kernel32.GetNumberOfConsoleInputEvents @ stdcall GetNumberOfConsoleInputEvents(long ptr)
@ stdcall GetOEMCP() kernel32.GetOEMCP @ stdcall GetOEMCP() kernel32.GetOEMCP
# @ stub GetOsManufacturingMode # @ stub GetOsManufacturingMode
# @ stub GetOsSafeBootMode # @ stub GetOsSafeBootMode
@ -1142,8 +1142,8 @@
# @ stub PcwSendStatelessNotification # @ stub PcwSendStatelessNotification
# @ stub PcwSetCounterSetSecurity # @ stub PcwSetCounterSetSecurity
# @ stub PcwSetQueryItemUserData # @ stub PcwSetQueryItemUserData
@ stdcall PeekConsoleInputA(ptr ptr long ptr) kernel32.PeekConsoleInputA @ stdcall PeekConsoleInputA(ptr ptr long ptr)
@ stdcall PeekConsoleInputW(ptr ptr long ptr) kernel32.PeekConsoleInputW @ stdcall PeekConsoleInputW(ptr ptr long ptr)
@ stdcall PeekNamedPipe(long ptr long ptr ptr ptr) @ stdcall PeekNamedPipe(long ptr long ptr ptr ptr)
@ stdcall PerfCreateInstance(long ptr wstr long) @ stdcall PerfCreateInstance(long ptr wstr long)
# @ stub PerfDecrementULongCounterValue # @ stub PerfDecrementULongCounterValue
@ -1235,16 +1235,16 @@
@ stdcall RaiseException(long long long ptr) @ stdcall RaiseException(long long long ptr)
# @ stub RaiseFailFastException # @ stub RaiseFailFastException
@ stdcall ReOpenFile(ptr long long long) @ stdcall ReOpenFile(ptr long long long)
@ stdcall ReadConsoleA(long ptr long ptr ptr) kernel32.ReadConsoleA @ stdcall ReadConsoleA(long ptr long ptr ptr)
@ stdcall ReadConsoleInputA(long ptr long ptr) kernel32.ReadConsoleInputA @ stdcall ReadConsoleInputA(long ptr long ptr)
@ stub ReadConsoleInputExA @ stub ReadConsoleInputExA
@ stub ReadConsoleInputExW @ stub ReadConsoleInputExW
@ stdcall ReadConsoleInputW(long ptr long ptr) kernel32.ReadConsoleInputW @ stdcall ReadConsoleInputW(long ptr long ptr) kernel32.ReadConsoleInputW
@ stdcall ReadConsoleOutputA(long ptr long long ptr) kernel32.ReadConsoleOutputA @ stdcall ReadConsoleOutputA(long ptr long long ptr)
@ stdcall ReadConsoleOutputAttribute(long ptr long long ptr) kernel32.ReadConsoleOutputAttribute @ stdcall ReadConsoleOutputAttribute(long ptr long long ptr)
@ stdcall ReadConsoleOutputCharacterA(long ptr long long ptr) kernel32.ReadConsoleOutputCharacterA @ stdcall ReadConsoleOutputCharacterA(long ptr long long ptr)
@ stdcall ReadConsoleOutputCharacterW(long ptr long long ptr) kernel32.ReadConsoleOutputCharacterW @ stdcall ReadConsoleOutputCharacterW(long ptr long long ptr)
@ stdcall ReadConsoleOutputW(long ptr long long ptr) kernel32.ReadConsoleOutputW @ stdcall ReadConsoleOutputW(long ptr long long ptr)
@ stdcall ReadConsoleW(long ptr long ptr ptr) kernel32.ReadConsoleW @ stdcall ReadConsoleW(long ptr long ptr ptr) kernel32.ReadConsoleW
@ stdcall ReadDirectoryChangesW(long ptr long long long ptr ptr ptr) @ stdcall ReadDirectoryChangesW(long ptr long long long ptr ptr ptr)
@ stdcall ReadFile(long ptr long ptr ptr) @ stdcall ReadFile(long ptr long ptr ptr)
@ -1384,8 +1384,8 @@
@ stdcall SHTruncateString(str long) @ stdcall SHTruncateString(str long)
# @ stub SaveAlternatePackageRootPath # @ stub SaveAlternatePackageRootPath
# @ stub SaveStateRootFolderPath # @ stub SaveStateRootFolderPath
@ stdcall ScrollConsoleScreenBufferA(long ptr ptr ptr ptr) kernel32.ScrollConsoleScreenBufferA @ stdcall ScrollConsoleScreenBufferA(long ptr ptr ptr ptr)
@ stdcall ScrollConsoleScreenBufferW(long ptr ptr ptr ptr) kernel32.ScrollConsoleScreenBufferW @ stdcall ScrollConsoleScreenBufferW(long ptr ptr ptr ptr)
@ stdcall SearchPathA(str str str long ptr ptr) kernel32.SearchPathA @ stdcall SearchPathA(str str str long ptr ptr) kernel32.SearchPathA
@ stdcall SearchPathW(wstr wstr wstr long ptr ptr) kernel32.SearchPathW @ stdcall SearchPathW(wstr wstr wstr long ptr ptr) kernel32.SearchPathW
@ stdcall SetAclInformation(ptr ptr long long) @ stdcall SetAclInformation(ptr ptr long long)
@ -1403,20 +1403,20 @@
@ stdcall SetComputerNameExA(long str) kernel32.SetComputerNameExA @ stdcall SetComputerNameExA(long str) kernel32.SetComputerNameExA
@ stdcall SetComputerNameExW(long wstr) kernel32.SetComputerNameExW @ stdcall SetComputerNameExW(long wstr) kernel32.SetComputerNameExW
@ stdcall SetComputerNameW(wstr) kernel32.SetComputerNameW @ stdcall SetComputerNameW(wstr) kernel32.SetComputerNameW
@ stdcall SetConsoleActiveScreenBuffer(long) kernel32.SetConsoleActiveScreenBuffer @ stdcall SetConsoleActiveScreenBuffer(long)
@ stdcall SetConsoleCP(long) kernel32.SetConsoleCP @ stdcall SetConsoleCP(long)
@ stdcall SetConsoleCtrlHandler(ptr long) kernel32.SetConsoleCtrlHandler @ stdcall SetConsoleCtrlHandler(ptr long) kernel32.SetConsoleCtrlHandler
@ stdcall SetConsoleCursorInfo(long ptr) kernel32.SetConsoleCursorInfo @ stdcall SetConsoleCursorInfo(long ptr)
@ stdcall SetConsoleCursorPosition(long long) kernel32.SetConsoleCursorPosition @ stdcall SetConsoleCursorPosition(long long)
@ stdcall SetConsoleInputExeNameA(str) kernel32.SetConsoleInputExeNameA @ stdcall SetConsoleInputExeNameA(str)
@ stdcall SetConsoleInputExeNameW(wstr) kernel32.SetConsoleInputExeNameW @ stdcall SetConsoleInputExeNameW(wstr)
@ stdcall SetConsoleMode(long long) kernel32.SetConsoleMode @ stdcall SetConsoleMode(long long)
@ stdcall SetConsoleOutputCP(long) kernel32.SetConsoleOutputCP @ stdcall SetConsoleOutputCP(long)
@ stdcall SetConsoleScreenBufferInfoEx(long ptr) kernel32.SetConsoleScreenBufferInfoEx @ stdcall SetConsoleScreenBufferInfoEx(long ptr)
@ stdcall SetConsoleScreenBufferSize(long long) kernel32.SetConsoleScreenBufferSize @ stdcall SetConsoleScreenBufferSize(long long)
@ stdcall SetConsoleTextAttribute(long long) kernel32.SetConsoleTextAttribute @ stdcall SetConsoleTextAttribute(long long)
@ stdcall SetConsoleTitleW(wstr) kernel32.SetConsoleTitleW @ stdcall SetConsoleTitleW(wstr)
@ stdcall SetConsoleWindowInfo(long long ptr) kernel32.SetConsoleWindowInfo @ stdcall SetConsoleWindowInfo(long long ptr)
@ stdcall SetCriticalSectionSpinCount(ptr long) ntdll.RtlSetCriticalSectionSpinCount @ stdcall SetCriticalSectionSpinCount(ptr long) ntdll.RtlSetCriticalSectionSpinCount
@ stdcall SetCurrentDirectoryA(str) kernel32.SetCurrentDirectoryA @ stdcall SetCurrentDirectoryA(str) kernel32.SetCurrentDirectoryA
@ stdcall SetCurrentDirectoryW(wstr) kernel32.SetCurrentDirectoryW @ stdcall SetCurrentDirectoryW(wstr) kernel32.SetCurrentDirectoryW
@ -1717,14 +1717,14 @@
@ stdcall Wow64RevertWow64FsRedirection(ptr) @ stdcall Wow64RevertWow64FsRedirection(ptr)
# @ stub Wow64SetThreadDefaultGuestMachine # @ stub Wow64SetThreadDefaultGuestMachine
# @ stub -arch=i386 Wow64Transition # @ stub -arch=i386 Wow64Transition
@ stdcall WriteConsoleA(long ptr long ptr ptr) kernel32.WriteConsoleA @ stdcall WriteConsoleA(long ptr long ptr ptr)
@ stdcall WriteConsoleInputA(long ptr long ptr) kernel32.WriteConsoleInputA @ stdcall WriteConsoleInputA(long ptr long ptr)
@ stdcall WriteConsoleInputW(long ptr long ptr) kernel32.WriteConsoleInputW @ stdcall WriteConsoleInputW(long ptr long ptr)
@ stdcall WriteConsoleOutputA(long ptr long long ptr) kernel32.WriteConsoleOutputA @ stdcall WriteConsoleOutputA(long ptr long long ptr)
@ stdcall WriteConsoleOutputAttribute(long ptr long long ptr) kernel32.WriteConsoleOutputAttribute @ stdcall WriteConsoleOutputAttribute(long ptr long long ptr)
@ stdcall WriteConsoleOutputCharacterA(long ptr long long ptr) kernel32.WriteConsoleOutputCharacterA @ stdcall WriteConsoleOutputCharacterA(long ptr long long ptr)
@ stdcall WriteConsoleOutputCharacterW(long ptr long long ptr) kernel32.WriteConsoleOutputCharacterW @ stdcall WriteConsoleOutputCharacterW(long ptr long long ptr)
@ stdcall WriteConsoleOutputW(long ptr long long ptr) kernel32.WriteConsoleOutputW @ stdcall WriteConsoleOutputW(long ptr long long ptr)
@ stdcall WriteConsoleW(long ptr long ptr ptr) kernel32.WriteConsoleW @ stdcall WriteConsoleW(long ptr long ptr ptr) kernel32.WriteConsoleW
@ stdcall WriteFile(long ptr long ptr ptr) @ stdcall WriteFile(long ptr long ptr ptr)
@ stdcall WriteFileEx(long ptr long ptr ptr) @ stdcall WriteFileEx(long ptr long ptr ptr)

View File

@ -268,7 +268,7 @@ typedef struct tagINPUT_RECORD
#define CONSOLE_TEXTMODE_BUFFER 1 #define CONSOLE_TEXTMODE_BUFFER 1
#ifdef __i386__ #if defined(__i386__) && !defined(__MINGW32__)
/* Note: this should return a COORD, but calling convention for returning /* Note: this should return a COORD, but calling convention for returning
* structures is different between Windows and gcc on i386. */ * structures is different between Windows and gcc on i386. */