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
3772c73a
Commit
3772c73a
authored
Sep 13, 2004
by
Jon Griffiths
Committed by
Alexandre Julliard
Sep 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CreateDCA -> CreateDCW
parent
043e2752
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
4 deletions
+10
-4
treeview.c
dlls/comctl32/treeview.c
+2
-1
enhmetafile.c
dlls/gdi/enhmetafile.c
+2
-1
wing.c
dlls/gdi/wing.c
+2
-1
dce.c
windows/dce.c
+4
-1
No files found.
dlls/comctl32/treeview.c
View file @
3772c73a
...
...
@@ -4633,6 +4633,7 @@ TREEVIEW_MouseWheel(TREEVIEW_INFO *infoPtr, WPARAM wParam)
static
LRESULT
TREEVIEW_Create
(
HWND
hwnd
,
const
CREATESTRUCTW
*
lpcs
)
{
static
const
WCHAR
szDisplayW
[]
=
{
'D'
,
'I'
,
'S'
,
'P'
,
'L'
,
'A'
,
'Y'
,
'\0'
};
RECT
rcClient
;
TREEVIEW_INFO
*
infoPtr
;
...
...
@@ -4736,7 +4737,7 @@ TREEVIEW_Create(HWND hwnd, const CREATESTRUCTW *lpcs)
infoPtr
->
himlState
=
ImageList_Create
(
16
,
16
,
ILC_COLOR
|
ILC_MASK
,
3
,
0
);
hdcScreen
=
CreateDC
A
(
"DISPLAY"
,
NULL
,
NULL
,
NULL
);
hdcScreen
=
CreateDC
W
(
szDisplayW
,
NULL
,
NULL
,
NULL
);
/* Create a coloured bitmap compatible with the screen depth
because checkboxes are not black&white */
...
...
dlls/gdi/enhmetafile.c
View file @
3772c73a
...
...
@@ -2509,6 +2509,7 @@ HENHMETAFILE WINAPI SetWinMetaFileBits(UINT cbBuffer,
CONST
METAFILEPICT
*
lpmfp
)
{
static
const
WCHAR
szDisplayW
[]
=
{
'D'
,
'I'
,
'S'
,
'P'
,
'L'
,
'A'
,
'Y'
,
'\0'
};
HMETAFILE
hmf
=
0
;
HENHMETAFILE
ret
=
0
;
HDC
hdc
=
0
,
hdcdisp
=
0
;
...
...
@@ -2528,7 +2529,7 @@ HENHMETAFILE WINAPI SetWinMetaFileBits(UINT cbBuffer,
}
if
(
!
hdcRef
)
hdcRef
=
hdcdisp
=
CreateDC
A
(
"DISPLAY"
,
NULL
,
NULL
,
NULL
);
hdcRef
=
hdcdisp
=
CreateDC
W
(
szDisplayW
,
NULL
,
NULL
,
NULL
);
if
(
!
lpmfp
)
{
lpmfp
=
&
mfp
;
...
...
dlls/gdi/wing.c
View file @
3772c73a
...
...
@@ -92,12 +92,13 @@ HDC16 WINAPI WinGCreateDC16(void)
*/
BOOL16
WINAPI
WinGRecommendDIBFormat16
(
BITMAPINFO
*
bmpi
)
{
static
const
WCHAR
szDisplayW
[]
=
{
'D'
,
'I'
,
'S'
,
'P'
,
'L'
,
'A'
,
'Y'
,
'\0'
};
HDC
hdc
;
TRACE
(
"(%p)
\n
"
,
bmpi
);
if
(
!
bmpi
)
return
FALSE
;
hdc
=
CreateDC
A
(
"DISPLAY"
,
NULL
,
NULL
,
NULL
);
hdc
=
CreateDC
W
(
szDisplayW
,
NULL
,
NULL
,
NULL
);
bmpi
->
bmiHeader
.
biSize
=
sizeof
(
BITMAPINFOHEADER
);
bmpi
->
bmiHeader
.
biWidth
=
320
;
bmpi
->
bmiHeader
.
biHeight
=
-
1
;
...
...
windows/dce.c
View file @
3772c73a
...
...
@@ -81,10 +81,13 @@ static void DCE_DumpCache(void)
*/
DCE
*
DCE_AllocDCE
(
HWND
hWnd
,
DCE_TYPE
type
)
{
static
const
WCHAR
szDisplayW
[]
=
{
'D'
,
'I'
,
'S'
,
'P'
,
'L'
,
'A'
,
'Y'
,
'\0'
};
DCE
*
dce
;
TRACE
(
"(%p,%d)
\n
"
,
hWnd
,
type
);
if
(
!
(
dce
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
DCE
)
)))
return
NULL
;
if
(
!
(
dce
->
hDC
=
CreateDC
A
(
"DISPLAY"
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
dce
->
hDC
=
CreateDC
W
(
szDisplayW
,
NULL
,
NULL
,
NULL
)))
{
HeapFree
(
GetProcessHeap
(),
0
,
dce
);
return
0
;
...
...
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