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
270bc587
Commit
270bc587
authored
Apr 16, 2001
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 16, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move implementation of CreateDC16 to CreateDCA.
parent
035d454d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
dc.c
objects/dc.c
+10
-11
No files found.
objects/dc.c
View file @
270bc587
...
...
@@ -540,6 +540,15 @@ BOOL WINAPI RestoreDC( HDC hdc, INT level )
HDC16
WINAPI
CreateDC16
(
LPCSTR
driver
,
LPCSTR
device
,
LPCSTR
output
,
const
DEVMODEA
*
initData
)
{
return
CreateDCA
(
driver
,
device
,
output
,
initData
);
}
/***********************************************************************
* CreateDCA (GDI32.@)
*/
HDC
WINAPI
CreateDCA
(
LPCSTR
driver
,
LPCSTR
device
,
LPCSTR
output
,
const
DEVMODEA
*
initData
)
{
HDC
hdc
;
DC
*
dc
;
const
DC_FUNCTIONS
*
funcs
;
...
...
@@ -571,16 +580,6 @@ HDC16 WINAPI CreateDC16( LPCSTR driver, LPCSTR device, LPCSTR output,
/***********************************************************************
* CreateDCA (GDI32.@)
*/
HDC
WINAPI
CreateDCA
(
LPCSTR
driver
,
LPCSTR
device
,
LPCSTR
output
,
const
DEVMODEA
*
initData
)
{
return
CreateDC16
(
driver
,
device
,
output
,
(
const
DEVMODEA
*
)
initData
);
}
/***********************************************************************
* CreateDCW (GDI32.@)
*/
HDC
WINAPI
CreateDCW
(
LPCWSTR
driver
,
LPCWSTR
device
,
LPCWSTR
output
,
...
...
@@ -589,7 +588,7 @@ HDC WINAPI CreateDCW( LPCWSTR driver, LPCWSTR device, LPCWSTR output,
LPSTR
driverA
=
HEAP_strdupWtoA
(
GetProcessHeap
(),
0
,
driver
);
LPSTR
deviceA
=
HEAP_strdupWtoA
(
GetProcessHeap
(),
0
,
device
);
LPSTR
outputA
=
HEAP_strdupWtoA
(
GetProcessHeap
(),
0
,
output
);
HDC
res
=
CreateDC
16
(
driverA
,
deviceA
,
outputA
,
HDC
res
=
CreateDC
A
(
driverA
,
deviceA
,
outputA
,
(
const
DEVMODEA
*
)
initData
/*FIXME*/
);
HeapFree
(
GetProcessHeap
(),
0
,
driverA
);
HeapFree
(
GetProcessHeap
(),
0
,
deviceA
);
...
...
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