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
2bc08d7f
Commit
2bc08d7f
authored
Jan 18, 2012
by
Austin English
Committed by
Alexandre Julliard
Jan 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add stubs for GetConsoleCommandHistoryLengthA/W.
parent
edd9066d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
+20
-4
console.c
dlls/kernel32/console.c
+18
-2
kernel32.spec
dlls/kernel32/kernel32.spec
+2
-2
No files found.
dlls/kernel32/console.c
View file @
2bc08d7f
...
...
@@ -2934,8 +2934,6 @@ BOOL WINAPI SetConsoleDisplayMode(HANDLE hConsoleOutput, DWORD dwFlags,
/* some missing functions...
* FIXME: those are likely to be defined as undocumented function in kernel32 (or part of them)
* should get the right API and implement them
* GetConsoleCommandHistory[AW] (dword dword dword)
* GetConsoleCommandHistoryLength[AW]
* SetConsoleCommandHistoryMode
* SetConsoleNumberOfCommands[AW]
*/
...
...
@@ -3141,3 +3139,21 @@ BOOL CONSOLE_Exit(void)
/* the console is in raw mode, put it back in cooked mode */
return
restore_console_mode
(
GetStdHandle
(
STD_INPUT_HANDLE
));
}
/* Undocumented, called by native doskey.exe */
/* FIXME: Should use CONSOLE_GetHistory() above for full implementation */
DWORD
WINAPI
GetConsoleCommandHistoryA
(
DWORD
unknown1
,
DWORD
unknown2
,
DWORD
unknown3
)
{
FIXME
(
": (0x%x, 0x%x, 0x%x) stub!
\n
"
,
unknown1
,
unknown2
,
unknown3
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
/* Undocumented, called by native doskey.exe */
/* FIXME: Should use CONSOLE_GetHistory() above for full implementation */
DWORD
WINAPI
GetConsoleCommandHistoryW
(
DWORD
unknown1
,
DWORD
unknown2
,
DWORD
unknown3
)
{
FIXME
(
": (0x%x, 0x%x, 0x%x) stub!
\n
"
,
unknown1
,
unknown2
,
unknown3
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
dlls/kernel32/kernel32.spec
View file @
2bc08d7f
...
...
@@ -465,10 +465,10 @@
@ stub GetConsoleAliasesW
@ stdcall GetConsoleCP()
@ stub GetConsoleCharType
@ st
ub GetConsoleCommandHistoryA
@ st
dcall GetConsoleCommandHistoryA(long long long)
@ stub GetConsoleCommandHistoryLengthA
@ stub GetConsoleCommandHistoryLengthW
@ st
ub GetConsoleCommandHistoryW
@ st
dcall GetConsoleCommandHistoryW(long long long)
@ stdcall GetConsoleCursorInfo(long ptr)
@ stub GetConsoleCursorMode
@ stdcall GetConsoleDisplayMode(ptr)
...
...
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