Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
df8ae894
Commit
df8ae894
authored
May 09, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed request size for alloc_console and free_console.
parent
dd93d255
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
console.c
win32/console.c
+3
-2
No files found.
win32/console.c
View file @
df8ae894
...
...
@@ -429,7 +429,8 @@ DWORD WINAPI GetLargestConsoleWindowSize( HANDLE hConsoleOutput )
*/
BOOL
WINAPI
FreeConsole
(
VOID
)
{
CLIENT_SendRequest
(
REQ_FREE_CONSOLE
,
-
1
,
0
);
struct
free_console_request
req
;
CLIENT_SendRequest
(
REQ_FREE_CONSOLE
,
-
1
,
1
,
&
req
,
sizeof
(
req
)
);
return
!
CLIENT_WaitReply
(
NULL
,
NULL
,
0
);
}
...
...
@@ -550,7 +551,7 @@ BOOL WINAPI AllocConsole(VOID)
DWORD
ret
;
TRACE
(
console
,
"()
\n
"
);
CLIENT_SendRequest
(
REQ_ALLOC_CONSOLE
,
-
1
,
0
);
CLIENT_SendRequest
(
REQ_ALLOC_CONSOLE
,
-
1
,
1
,
&
req
,
sizeof
(
req
)
);
ret
=
CLIENT_WaitReply
(
NULL
,
NULL
,
0
);
if
(
ret
!=
ERROR_SUCCESS
)
{
/* Hmm, error returned by server when we already have an
...
...
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