mirror of
https://github.com/reactos/reactos.git
synced 2025-06-05 09:20:30 +00:00
Fix compilation with GCC4.2. Please check changes in CreateProcessInternalW for correctness!
svn path=/trunk/; revision=25580
This commit is contained in:
parent
b4b32d74ee
commit
80513cb036
2 changed files with 8 additions and 8 deletions
|
@ -2765,10 +2765,10 @@ SetConsoleCursorInfo(
|
|||
|
||||
static BOOL
|
||||
IntScrollConsoleScreenBuffer(HANDLE hConsoleOutput,
|
||||
PSMALL_RECT lpScrollRectangle,
|
||||
PSMALL_RECT lpClipRectangle,
|
||||
const SMALL_RECT *lpScrollRectangle,
|
||||
const SMALL_RECT *lpClipRectangle,
|
||||
COORD dwDestinationOrigin,
|
||||
PCHAR_INFO lpFill,
|
||||
const CHAR_INFO *lpFill,
|
||||
BOOL bUnicode)
|
||||
{
|
||||
CSR_API_MESSAGE Request; ULONG CsrRequest;
|
||||
|
@ -2846,10 +2846,10 @@ ScrollConsoleScreenBufferW(
|
|||
)
|
||||
{
|
||||
return IntScrollConsoleScreenBuffer(hConsoleOutput,
|
||||
(PSMALL_RECT)lpScrollRectangle,
|
||||
(PSMALL_RECT)lpClipRectangle,
|
||||
lpScrollRectangle,
|
||||
lpClipRectangle,
|
||||
dwDestinationOrigin,
|
||||
(PCHAR_INFO)lpFill,
|
||||
lpFill,
|
||||
TRUE);
|
||||
}
|
||||
|
||||
|
|
|
@ -981,7 +981,7 @@ GetAppName:
|
|||
RtlFreeHeap(RtlGetProcessHeap(), 0, NameBuffer);
|
||||
RtlFreeHeap(RtlGetProcessHeap(), 0, ApplicationName.Buffer);
|
||||
return CreateProcessW(L"ntvdm.exe",
|
||||
(LPWSTR)lpApplicationName,
|
||||
(LPWSTR)((ULONG_PTR)lpApplicationName), /* FIXME: Buffer must be writable!!! */
|
||||
lpProcessAttributes,
|
||||
lpThreadAttributes,
|
||||
bInheritHandles,
|
||||
|
@ -1052,7 +1052,7 @@ GetAppName:
|
|||
RtlFreeHeap(RtlGetProcessHeap(), 0, NameBuffer);
|
||||
RtlFreeHeap(RtlGetProcessHeap(), 0, ApplicationName.Buffer);
|
||||
return CreateProcessW(L"ntvdm.exe",
|
||||
(LPWSTR)lpApplicationName,
|
||||
(LPWSTR)((ULONG_PTR)lpApplicationName), /* FIXME: Buffer must be writable!!! */
|
||||
lpProcessAttributes,
|
||||
lpThreadAttributes,
|
||||
bInheritHandles,
|
||||
|
|
Loading…
Reference in a new issue