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
0ba17961
Commit
0ba17961
authored
May 08, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
May 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Add device name to wine_get_gdi_driver call.
parent
f739bfc3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
dc.c
dlls/gdi32/dc.c
+1
-1
dc.c
dlls/win32u/dc.c
+2
-2
init.c
dlls/wineps.drv/init.c
+1
-1
wineps.drv.spec
dlls/wineps.drv/wineps.drv.spec
+1
-1
No files found.
dlls/gdi32/dc.c
View file @
0ba17961
...
...
@@ -42,7 +42,7 @@ static CRITICAL_SECTION_DEBUG critsect_debug =
};
static
CRITICAL_SECTION
driver_section
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
typedef
const
void
*
(
CDECL
*
driver_entry_point
)(
unsigned
int
version
);
typedef
const
void
*
(
CDECL
*
driver_entry_point
)(
unsigned
int
version
,
const
WCHAR
*
device
);
struct
graphics_driver
{
...
...
dlls/win32u/dc.c
View file @
0ba17961
...
...
@@ -719,8 +719,8 @@ HDC WINAPI NtGdiOpenDCW( UNICODE_STRING *device, const DEVMODEW *devmode, UNICOD
funcs
=
get_display_driver
();
else
if
(
hspool
)
{
const
struct
gdi_dc_funcs
*
(
CDECL
*
wine_get_gdi_driver
)(
unsigned
int
)
=
hspool
;
funcs
=
wine_get_gdi_driver
(
WINE_GDI_DRIVER_VERSION
);
const
struct
gdi_dc_funcs
*
(
CDECL
*
wine_get_gdi_driver
)(
unsigned
int
,
const
WCHAR
*
)
=
hspool
;
funcs
=
wine_get_gdi_driver
(
WINE_GDI_DRIVER_VERSION
,
device
?
device
->
Buffer
:
NULL
);
}
if
(
!
funcs
)
{
...
...
dlls/wineps.drv/init.c
View file @
0ba17961
...
...
@@ -687,7 +687,7 @@ static struct gdi_dc_funcs psdrv_funcs =
/******************************************************************************
* PSDRV_get_gdi_driver
*/
const
struct
gdi_dc_funcs
*
CDECL
PSDRV_get_gdi_driver
(
unsigned
int
version
)
const
struct
gdi_dc_funcs
*
CDECL
PSDRV_get_gdi_driver
(
unsigned
int
version
,
const
WCHAR
*
name
)
{
if
(
version
!=
WINE_GDI_DRIVER_VERSION
)
{
...
...
dlls/wineps.drv/wineps.drv.spec
View file @
0ba17961
@ cdecl wine_get_gdi_driver(long) PSDRV_get_gdi_driver
@ cdecl wine_get_gdi_driver(long
str
) PSDRV_get_gdi_driver
@ stdcall -private DllRegisterServer()
# Printer driver config exports
...
...
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