mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +00:00
[KERNEL32] Update some console API prototypes.
This commit is contained in:
parent
68ebcf16b8
commit
197ec4c5b8
2 changed files with 16 additions and 16 deletions
|
@ -2787,7 +2787,7 @@ SetConsoleIcon(HICON hIcon)
|
||||||
BOOL
|
BOOL
|
||||||
WINAPI
|
WINAPI
|
||||||
DECLSPEC_HOTPATCH
|
DECLSPEC_HOTPATCH
|
||||||
SetConsoleInputExeNameW(IN LPWSTR lpExeName)
|
SetConsoleInputExeNameW(IN LPCWSTR lpExeName)
|
||||||
{
|
{
|
||||||
DWORD ExeLength;
|
DWORD ExeLength;
|
||||||
|
|
||||||
|
@ -2827,7 +2827,7 @@ SetConsoleInputExeNameW(IN LPWSTR lpExeName)
|
||||||
BOOL
|
BOOL
|
||||||
WINAPI
|
WINAPI
|
||||||
DECLSPEC_HOTPATCH
|
DECLSPEC_HOTPATCH
|
||||||
SetConsoleInputExeNameA(IN LPSTR lpExeName)
|
SetConsoleInputExeNameA(IN LPCSTR lpExeName)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
#ifdef USE_TEB_STATIC_USTR
|
#ifdef USE_TEB_STATIC_USTR
|
||||||
|
|
|
@ -247,7 +247,7 @@ IntSetConsoleNumberOfCommands(DWORD dwNumCommands,
|
||||||
VOID
|
VOID
|
||||||
WINAPI
|
WINAPI
|
||||||
DECLSPEC_HOTPATCH
|
DECLSPEC_HOTPATCH
|
||||||
ExpungeConsoleCommandHistoryW(LPCWSTR lpExeName)
|
ExpungeConsoleCommandHistoryW(IN LPCWSTR lpExeName)
|
||||||
{
|
{
|
||||||
IntExpungeConsoleCommandHistory(lpExeName, TRUE);
|
IntExpungeConsoleCommandHistory(lpExeName, TRUE);
|
||||||
}
|
}
|
||||||
|
@ -259,7 +259,7 @@ ExpungeConsoleCommandHistoryW(LPCWSTR lpExeName)
|
||||||
VOID
|
VOID
|
||||||
WINAPI
|
WINAPI
|
||||||
DECLSPEC_HOTPATCH
|
DECLSPEC_HOTPATCH
|
||||||
ExpungeConsoleCommandHistoryA(LPCSTR lpExeName)
|
ExpungeConsoleCommandHistoryA(IN LPCSTR lpExeName)
|
||||||
{
|
{
|
||||||
IntExpungeConsoleCommandHistory(lpExeName, FALSE);
|
IntExpungeConsoleCommandHistory(lpExeName, FALSE);
|
||||||
}
|
}
|
||||||
|
@ -271,9 +271,9 @@ ExpungeConsoleCommandHistoryA(LPCSTR lpExeName)
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
DECLSPEC_HOTPATCH
|
DECLSPEC_HOTPATCH
|
||||||
GetConsoleCommandHistoryW(LPWSTR lpHistory,
|
GetConsoleCommandHistoryW(OUT LPWSTR lpHistory,
|
||||||
DWORD cbHistory,
|
IN DWORD cbHistory,
|
||||||
LPCWSTR lpExeName)
|
IN LPCWSTR lpExeName)
|
||||||
{
|
{
|
||||||
return IntGetConsoleCommandHistory(lpHistory, cbHistory, lpExeName, TRUE);
|
return IntGetConsoleCommandHistory(lpHistory, cbHistory, lpExeName, TRUE);
|
||||||
}
|
}
|
||||||
|
@ -285,9 +285,9 @@ GetConsoleCommandHistoryW(LPWSTR lpHistory,
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
DECLSPEC_HOTPATCH
|
DECLSPEC_HOTPATCH
|
||||||
GetConsoleCommandHistoryA(LPSTR lpHistory,
|
GetConsoleCommandHistoryA(OUT LPSTR lpHistory,
|
||||||
DWORD cbHistory,
|
IN DWORD cbHistory,
|
||||||
LPCSTR lpExeName)
|
IN LPCSTR lpExeName)
|
||||||
{
|
{
|
||||||
return IntGetConsoleCommandHistory(lpHistory, cbHistory, lpExeName, FALSE);
|
return IntGetConsoleCommandHistory(lpHistory, cbHistory, lpExeName, FALSE);
|
||||||
}
|
}
|
||||||
|
@ -299,7 +299,7 @@ GetConsoleCommandHistoryA(LPSTR lpHistory,
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
DECLSPEC_HOTPATCH
|
DECLSPEC_HOTPATCH
|
||||||
GetConsoleCommandHistoryLengthW(LPCWSTR lpExeName)
|
GetConsoleCommandHistoryLengthW(IN LPCWSTR lpExeName)
|
||||||
{
|
{
|
||||||
return IntGetConsoleCommandHistoryLength(lpExeName, TRUE);
|
return IntGetConsoleCommandHistoryLength(lpExeName, TRUE);
|
||||||
}
|
}
|
||||||
|
@ -311,7 +311,7 @@ GetConsoleCommandHistoryLengthW(LPCWSTR lpExeName)
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
DECLSPEC_HOTPATCH
|
DECLSPEC_HOTPATCH
|
||||||
GetConsoleCommandHistoryLengthA(LPCSTR lpExeName)
|
GetConsoleCommandHistoryLengthA(IN LPCSTR lpExeName)
|
||||||
{
|
{
|
||||||
return IntGetConsoleCommandHistoryLength(lpExeName, FALSE);
|
return IntGetConsoleCommandHistoryLength(lpExeName, FALSE);
|
||||||
}
|
}
|
||||||
|
@ -323,8 +323,8 @@ GetConsoleCommandHistoryLengthA(LPCSTR lpExeName)
|
||||||
BOOL
|
BOOL
|
||||||
WINAPI
|
WINAPI
|
||||||
DECLSPEC_HOTPATCH
|
DECLSPEC_HOTPATCH
|
||||||
SetConsoleNumberOfCommandsW(DWORD dwNumCommands,
|
SetConsoleNumberOfCommandsW(IN DWORD dwNumCommands,
|
||||||
LPCWSTR lpExeName)
|
IN LPCWSTR lpExeName)
|
||||||
{
|
{
|
||||||
return IntSetConsoleNumberOfCommands(dwNumCommands, lpExeName, TRUE);
|
return IntSetConsoleNumberOfCommands(dwNumCommands, lpExeName, TRUE);
|
||||||
}
|
}
|
||||||
|
@ -336,8 +336,8 @@ SetConsoleNumberOfCommandsW(DWORD dwNumCommands,
|
||||||
BOOL
|
BOOL
|
||||||
WINAPI
|
WINAPI
|
||||||
DECLSPEC_HOTPATCH
|
DECLSPEC_HOTPATCH
|
||||||
SetConsoleNumberOfCommandsA(DWORD dwNumCommands,
|
SetConsoleNumberOfCommandsA(IN DWORD dwNumCommands,
|
||||||
LPCSTR lpExeName)
|
IN LPCSTR lpExeName)
|
||||||
{
|
{
|
||||||
return IntSetConsoleNumberOfCommands(dwNumCommands, lpExeName, FALSE);
|
return IntSetConsoleNumberOfCommands(dwNumCommands, lpExeName, FALSE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue