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
575b4116
Commit
575b4116
authored
Sep 06, 2005
by
Marcus Meissner
Committed by
Alexandre Julliard
Sep 06, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PrintDlg16: Copy back the Flags, nFromPage, nToPage and nCopies struct
members after the print dialog finishes.
parent
ff771e2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
printdlg16.c
dlls/commdlg/printdlg16.c
+8
-0
No files found.
dlls/commdlg/printdlg16.c
View file @
575b4116
...
@@ -493,6 +493,14 @@ BOOL16 WINAPI PrintDlg16(
...
@@ -493,6 +493,14 @@ BOOL16 WINAPI PrintDlg16(
pi
->
pPortName
pi
->
pPortName
);
);
GlobalUnlock16
(
lppd
->
hDevMode
);
GlobalUnlock16
(
lppd
->
hDevMode
);
/* Copy back the [out] integer parameters */
#define CVAL(x) lppd->x = PrintStructures->lpPrintDlg->x;
CVAL
(
Flags
);
CVAL
(
nFromPage
);
CVAL
(
nToPage
);
CVAL
(
nCopies
);
#undef CVAL
}
}
if
(
!
(
lppd
->
Flags
&
(
PD_ENABLESETUPTEMPLATEHANDLE
|
PD_ENABLESETUPTEMPLATE
)))
if
(
!
(
lppd
->
Flags
&
(
PD_ENABLESETUPTEMPLATEHANDLE
|
PD_ENABLESETUPTEMPLATE
)))
GlobalFree16
(
hDlgTmpl
);
/* created from the 32 bits resource */
GlobalFree16
(
hDlgTmpl
);
/* created from the 32 bits resource */
...
...
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