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
c32169c1
Commit
c32169c1
authored
Jun 24, 2000
by
Eric Pouech
Committed by
Alexandre Julliard
Jun 24, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A few missing console stubs.
parent
ed56845a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
141 additions
and
8 deletions
+141
-8
kernel32.spec
dlls/kernel/kernel32.spec
+8
-8
console.c
win32/console.c
+133
-0
No files found.
dlls/kernel/kernel32.spec
View file @
c32169c1
...
...
@@ -586,11 +586,11 @@ import ntdll.dll
568 stdcall ReadConsoleA(long ptr long ptr ptr) ReadConsoleA
569 stdcall ReadConsoleInputA(long ptr long ptr) ReadConsoleInputA
570 stdcall ReadConsoleInputW(long ptr long ptr) ReadConsoleInputW
571 st
ub
ReadConsoleOutputA
572 st
ub
ReadConsoleOutputAttribute
571 st
dcall ReadConsoleOutputA(long ptr long long ptr)
ReadConsoleOutputA
572 st
dcall ReadConsoleOutputAttribute(long ptr long long ptr)
ReadConsoleOutputAttribute
573 stdcall ReadConsoleOutputCharacterA(long ptr long long ptr) ReadConsoleOutputCharacterA
574 st
ub
ReadConsoleOutputCharacterW
575 st
ub
ReadConsoleOutputW
574 st
dcall ReadConsoleOutputCharacterW(long ptr long long ptr)
ReadConsoleOutputCharacterW
575 st
dcall ReadConsoleOutputW(long ptr long long ptr)
ReadConsoleOutputW
576 stdcall ReadConsoleW(long ptr long ptr ptr) ReadConsoleW
577 stdcall ReadFile(long ptr long ptr ptr) ReadFile
578 stdcall ReadFileEx(long ptr long ptr ptr) ReadFileEx
...
...
@@ -628,7 +628,7 @@ import ntdll.dll
610 register SUnMapLS_IP_EBP_40() SUnMapLS_IP_EBP_40
611 register SUnMapLS_IP_EBP_8() SUnMapLS_IP_EBP_8
612 stdcall ScrollConsoleScreenBufferA(long ptr ptr ptr ptr) ScrollConsoleScreenBufferA
613 st
ub
ScrollConsoleScreenBufferW
613 st
dcall ScrollConsoleScreenBufferW(long ptr ptr ptr ptr)
ScrollConsoleScreenBufferW
614 stdcall SearchPathA(str str str long ptr ptr) SearchPathA
615 stdcall SearchPathW(wstr wstr wstr long ptr ptr) SearchPathW
616 stdcall SetCommBreak(long) SetCommBreak
...
...
@@ -639,7 +639,7 @@ import ntdll.dll
621 stdcall SetComputerNameA(str) SetComputerNameA
622 stdcall SetComputerNameW(wstr) SetComputerNameW
623 stdcall SetConsoleActiveScreenBuffer(long) SetConsoleActiveScreenBuffer
624 st
ub
SetConsoleCP
624 st
dcall SetConsoleCP(long)
SetConsoleCP
625 stdcall SetConsoleCtrlHandler(ptr long) SetConsoleCtrlHandler
626 stdcall SetConsoleCursorInfo(long ptr) SetConsoleCursorInfo
627 stdcall SetConsoleCursorPosition(long long) SetConsoleCursorPosition
...
...
@@ -746,12 +746,12 @@ import ntdll.dll
728 stdcall WinExec(str long) WinExec
729 stdcall WriteConsoleA(long ptr long ptr ptr) WriteConsoleA
730 stdcall WriteConsoleInputA(long ptr long ptr) WriteConsoleInputA
731 st
ub
WriteConsoleInputW
731 st
dcall WriteConsoleInputW(long ptr long ptr)
WriteConsoleInputW
732 stdcall WriteConsoleOutputA(long ptr long long ptr) WriteConsoleOutputA
733 stub WriteConsoleOutputAttribute
734 stub WriteConsoleOutputCharacterA
735 stub WriteConsoleOutputCharacterW
736 st
ub
WriteConsoleOutputW
736 st
dcall WriteConsoleOutputW(long ptr long long ptr)
WriteConsoleOutputW
737 stdcall WriteConsoleW(long ptr long ptr ptr) WriteConsoleW
738 stdcall WriteFile(long ptr long ptr ptr) WriteFile
739 stub WriteFileEx
...
...
win32/console.c
View file @
c32169c1
...
...
@@ -866,6 +866,22 @@ BOOL WINAPI WriteConsoleOutputA( HANDLE hConsoleOutput,
}
/***********************************************************************
* WriteConsoleOutputW (KERNEL32.734)
*/
BOOL
WINAPI
WriteConsoleOutputW
(
HANDLE
hConsoleOutput
,
LPCHAR_INFO
lpBuffer
,
COORD
dwBufferSize
,
COORD
dwBufferCoord
,
LPSMALL_RECT
lpWriteRegion
)
{
FIXME
(
"(%d,%p,%dx%d,%dx%d,%p): stub
\n
"
,
hConsoleOutput
,
lpBuffer
,
dwBufferSize
.
X
,
dwBufferSize
.
Y
,
dwBufferCoord
.
X
,
dwBufferCoord
.
Y
,
lpWriteRegion
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* WriteConsoleW (KERNEL32.577)
*/
BOOL
WINAPI
WriteConsoleW
(
HANDLE
hConsoleOutput
,
...
...
@@ -1083,6 +1099,19 @@ BOOL WINAPI WriteConsoleInputA( HANDLE handle, INPUT_RECORD *buffer,
return
TRUE
;
}
/******************************************************************************
* WriteConsoleInputW [KERNEL32.731] Write data to a console input buffer
*
*/
BOOL
WINAPI
WriteConsoleInputW
(
HANDLE
handle
,
INPUT_RECORD
*
buffer
,
DWORD
count
,
LPDWORD
written
)
{
FIXME
(
"(%d,%p,%ld,%p): stub!
\n
"
,
handle
,
buffer
,
count
,
written
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* SetConsoleTitleA (KERNEL32.476)
...
...
@@ -1427,6 +1456,21 @@ BOOL WINAPI ReadConsoleOutputCharacterA(HANDLE hConsoleOutput,
return
FALSE
;
}
/******************************************************************************
* ReadConsoleOutputCharacterW [KERNEL32.574]
*
* BUGS
* Unimplemented
*/
BOOL
WINAPI
ReadConsoleOutputCharacterW
(
HANDLE
hConsoleOutput
,
LPWSTR
lpstr
,
DWORD
dword
,
COORD
coord
,
LPDWORD
lpdword
)
{
FIXME
(
"(%d,%p,%ld,%dx%d,%p): stub
\n
"
,
hConsoleOutput
,
lpstr
,
dword
,
coord
.
X
,
coord
.
Y
,
lpdword
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************************
* ScrollConsoleScreenBufferA [KERNEL32.612]
...
...
@@ -1443,3 +1487,92 @@ BOOL WINAPI ScrollConsoleScreenBufferA( HANDLE hConsoleOutput,
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************************
* ScrollConsoleScreenBufferW [KERNEL32.613]
*
* BUGS
* Unimplemented
*/
BOOL
WINAPI
ScrollConsoleScreenBufferW
(
HANDLE
hConsoleOutput
,
LPSMALL_RECT
lpScrollRect
,
LPSMALL_RECT
lpClipRect
,
COORD
dwDestOrigin
,
LPCHAR_INFO
lpFill
)
{
FIXME
(
"(%d,%p,%p,%dx%d,%p): stub
\n
"
,
hConsoleOutput
,
lpScrollRect
,
lpClipRect
,
dwDestOrigin
.
X
,
dwDestOrigin
.
Y
,
lpFill
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************************
* ReadConsoleOutputA [KERNEL32.571]
*
* BUGS
* Unimplemented
*/
BOOL
WINAPI
ReadConsoleOutputA
(
HANDLE
hConsoleOutput
,
LPCHAR_INFO
lpBuffer
,
COORD
dwBufferSize
,
COORD
dwBufferCoord
,
LPSMALL_RECT
lpReadRegion
)
{
FIXME
(
"(%d,%p,%dx%d,%dx%d,%p): stub
\n
"
,
hConsoleOutput
,
lpBuffer
,
dwBufferSize
.
X
,
dwBufferSize
.
Y
,
dwBufferSize
.
X
,
dwBufferSize
.
Y
,
lpReadRegion
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************************
* ReadConsoleOutputW [KERNEL32.575]
*
* BUGS
* Unimplemented
*/
BOOL
WINAPI
ReadConsoleOutputW
(
HANDLE
hConsoleOutput
,
LPCHAR_INFO
lpBuffer
,
COORD
dwBufferSize
,
COORD
dwBufferCoord
,
LPSMALL_RECT
lpReadRegion
)
{
FIXME
(
"(%d,%p,%dx%d,%dx%d,%p): stub
\n
"
,
hConsoleOutput
,
lpBuffer
,
dwBufferSize
.
X
,
dwBufferSize
.
Y
,
dwBufferSize
.
X
,
dwBufferSize
.
Y
,
lpReadRegion
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************************
* ReadConsoleOutputAttribute [KERNEL32.572]
*
* BUGS
* Unimplemented
*/
BOOL
WINAPI
ReadConsoleOutputAttribute
(
HANDLE
hConsoleOutput
,
LPWORD
lpAttribute
,
DWORD
nLength
,
COORD
dwReadCoord
,
LPDWORD
lpNumberOfAttrsRead
)
{
FIXME
(
"(%d,%p,%ld,%dx%d,%p): stub
\n
"
,
hConsoleOutput
,
lpAttribute
,
nLength
,
dwReadCoord
.
X
,
dwReadCoord
.
Y
,
lpNumberOfAttrsRead
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************************
* SetConsoleCP [KERNEL32.572]
*
* BUGS
* Unimplemented
*/
BOOL
WINAPI
SetConsoleCP
(
UINT
cp
)
{
FIXME
(
"(%d): stub
\n
"
,
cp
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
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