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
dfe397fc
Commit
dfe397fc
authored
Jun 30, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get/SetPropW needs a Unicode string.
parent
3ebf9a50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
printdlg.c
dlls/commdlg/printdlg.c
+3
-2
No files found.
dlls/commdlg/printdlg.c
View file @
dfe397fc
...
...
@@ -2049,16 +2049,17 @@ INT_PTR CALLBACK PrintDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
INT_PTR
CALLBACK
PrintDlgProcW
(
HWND
hDlg
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
static
const
WCHAR
propW
[]
=
{
'_'
,
'_'
,
'W'
,
'I'
,
'N'
,
'E'
,
'_'
,
'P'
,
'R'
,
'I'
,
'N'
,
'T'
,
'D'
,
'L'
,
'G'
,
'D'
,
'A'
,
'T'
,
'A'
,
0
};
PRINT_PTRW
*
PrintStructures
;
INT_PTR
res
=
FALSE
;
if
(
uMsg
!=
WM_INITDIALOG
)
{
PrintStructures
=
(
PRINT_PTRW
*
)
GetPropW
(
hDlg
,
"__WINE_PRINTDLGDATA"
);
PrintStructures
=
(
PRINT_PTRW
*
)
GetPropW
(
hDlg
,
propW
);
if
(
!
PrintStructures
)
return
FALSE
;
}
else
{
PrintStructures
=
(
PRINT_PTRW
*
)
lParam
;
SetPropW
(
hDlg
,
"__WINE_PRINTDLGDATA"
,
PrintStructures
);
SetPropW
(
hDlg
,
propW
,
PrintStructures
);
res
=
PRINTDLG_WMInitDialogW
(
hDlg
,
wParam
,
PrintStructures
);
if
(
PrintStructures
->
dlg
.
lpPrintDlg
->
Flags
&
PD_ENABLEPRINTHOOK
)
...
...
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