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
7a31d401
Commit
7a31d401
authored
Jul 28, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
condrv: Rename condrv_write_output_params to condrv_output_params.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d05ec6b2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
console.c
dlls/kernel32/console.c
+1
-1
console.c
dlls/kernelbase/console.c
+3
-3
condrv.h
include/wine/condrv.h
+1
-1
console.c
server/console.c
+3
-3
No files found.
dlls/kernel32/console.c
View file @
7a31d401
...
...
@@ -691,7 +691,7 @@ LONG CALLBACK CONSOLE_HandleCtrlC( EXCEPTION_POINTERS *eptr )
*/
static
int
CONSOLE_WriteChars
(
HANDLE
handle
,
const
WCHAR
*
str
,
size_t
length
,
COORD
*
coord
)
{
struct
condrv_
write_
output_params
*
params
;
struct
condrv_output_params
*
params
;
DWORD
written
=
0
,
size
;
if
(
!
length
)
return
0
;
...
...
dlls/kernelbase/console.c
View file @
7a31d401
...
...
@@ -1486,7 +1486,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleOutputA( HANDLE handle, const CHAR_INF
BOOL
WINAPI
DECLSPEC_HOTPATCH
WriteConsoleOutputW
(
HANDLE
handle
,
const
CHAR_INFO
*
buffer
,
COORD
size
,
COORD
coord
,
SMALL_RECT
*
region
)
{
struct
condrv_
write_
output_params
*
params
;
struct
condrv_output_params
*
params
;
unsigned
int
width
,
height
,
y
;
size_t
params_size
;
BOOL
ret
;
...
...
@@ -1533,7 +1533,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleOutputW( HANDLE handle, const CHAR_INF
BOOL
WINAPI
DECLSPEC_HOTPATCH
WriteConsoleOutputAttribute
(
HANDLE
handle
,
const
WORD
*
attr
,
DWORD
length
,
COORD
coord
,
DWORD
*
written
)
{
struct
condrv_
write_
output_params
*
params
;
struct
condrv_output_params
*
params
;
size_t
size
;
BOOL
ret
;
...
...
@@ -1600,7 +1600,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleOutputCharacterA( HANDLE handle, LPCST
BOOL
WINAPI
DECLSPEC_HOTPATCH
WriteConsoleOutputCharacterW
(
HANDLE
handle
,
LPCWSTR
str
,
DWORD
length
,
COORD
coord
,
DWORD
*
written
)
{
struct
condrv_
write_
output_params
*
params
;
struct
condrv_output_params
*
params
;
size_t
size
;
BOOL
ret
;
...
...
include/wine/condrv.h
View file @
7a31d401
...
...
@@ -84,7 +84,7 @@ struct condrv_input_info_params
};
/* IOCTL_CONDRV_WRITE_OUTPUT */
struct
condrv_
write_
output_params
struct
condrv_output_params
{
unsigned
int
x
;
/* destination position */
unsigned
int
y
;
...
...
server/console.c
View file @
7a31d401
...
...
@@ -1249,7 +1249,7 @@ static struct fd *screen_buffer_get_fd( struct object *obj )
}
/* write data into a screen buffer */
static
void
write_console_output
(
struct
screen_buffer
*
screen_buffer
,
const
struct
condrv_
write_
output_params
*
params
,
static
void
write_console_output
(
struct
screen_buffer
*
screen_buffer
,
const
struct
condrv_output_params
*
params
,
data_size_t
size
)
{
unsigned
int
i
,
entry_size
,
entry_cnt
,
x
,
y
;
...
...
@@ -1677,7 +1677,7 @@ static int screen_buffer_ioctl( struct fd *fd, ioctl_code_t code, struct async *
return
1
;
case
IOCTL_CONDRV_WRITE_OUTPUT
:
if
(
get_req_data_size
()
<
sizeof
(
struct
condrv_
write_
output_params
)
||
if
(
get_req_data_size
()
<
sizeof
(
struct
condrv_output_params
)
||
(
get_reply_max_size
()
!=
sizeof
(
SMALL_RECT
)
&&
get_reply_max_size
()
!=
sizeof
(
unsigned
int
)))
{
set_error
(
STATUS_INVALID_PARAMETER
);
...
...
@@ -1688,7 +1688,7 @@ static int screen_buffer_ioctl( struct fd *fd, ioctl_code_t code, struct async *
set_error
(
STATUS_OBJECT_TYPE_MISMATCH
);
return
0
;
}
write_console_output
(
screen_buffer
,
get_req_data
(),
get_req_data_size
()
-
sizeof
(
struct
condrv_
write_
output_params
)
);
write_console_output
(
screen_buffer
,
get_req_data
(),
get_req_data_size
()
-
sizeof
(
struct
condrv_output_params
)
);
return
!
get_error
();
case
IOCTL_CONDRV_GET_OUTPUT_INFO
:
...
...
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