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
2bfe9ce8
Commit
2bfe9ce8
authored
Feb 21, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
Feb 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps: Remove no longer used output parameter handling from PSDRV_CreateDC.
We're storing it now in DC attributes.
parent
4a8cdc2b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
13 deletions
+1
-13
escape.c
dlls/wineps.drv/escape.c
+1
-9
init.c
dlls/wineps.drv/init.c
+0
-3
psdrv.h
dlls/wineps.drv/psdrv.h
+0
-1
No files found.
dlls/wineps.drv/escape.c
View file @
2bfe9ce8
...
...
@@ -459,16 +459,8 @@ INT CDECL PSDRV_StartDoc( PHYSDEV dev, const DOCINFOW *doc )
}
di
.
pDocName
=
(
LPWSTR
)
doc
->
lpszDocName
;
di
.
pDatatype
=
NULL
;
if
(
doc
->
lpszOutput
)
di
.
pOutputFile
=
(
LPWSTR
)
doc
->
lpszOutput
;
else
if
(
physDev
->
job
.
output
)
di
.
pOutputFile
=
physDev
->
job
.
output
;
else
di
.
pOutputFile
=
NULL
;
TRACE
(
"using output: %s
\n
"
,
debugstr_w
(
di
.
pOutputFile
));
di
.
pDatatype
=
NULL
;
/* redirection located in HKCU\Software\Wine\Printing\Spooler
is done during winspool.drv,ScheduleJob */
...
...
dlls/wineps.drv/init.c
View file @
2bfe9ce8
...
...
@@ -387,8 +387,6 @@ static BOOL CDECL PSDRV_CreateDC( PHYSDEV *pdev, LPCWSTR device, LPCWSTR output,
if
(
!
(
physDev
=
create_psdrv_physdev
(
pi
)))
return
FALSE
;
if
(
output
&&
*
output
)
physDev
->
job
.
output
=
strdupW
(
output
);
if
(
initData
)
{
dump_devmode
(
initData
);
...
...
@@ -432,7 +430,6 @@ static BOOL CDECL PSDRV_DeleteDC( PHYSDEV dev )
TRACE
(
"
\n
"
);
HeapFree
(
GetProcessHeap
(),
0
,
physDev
->
Devmode
);
HeapFree
(
GetProcessHeap
(),
0
,
physDev
->
job
.
output
);
HeapFree
(
GetProcessHeap
(),
0
,
physDev
);
return
TRUE
;
...
...
dlls/wineps.drv/psdrv.h
View file @
2bfe9ce8
...
...
@@ -352,7 +352,6 @@ enum passthrough
typedef
struct
{
DWORD
id
;
/* Job id */
HANDLE
hprinter
;
/* Printer handle */
LPWSTR
output
;
/* Output file/port */
LPWSTR
doc_name
;
/* Document Name */
BOOL
banding
;
/* Have we received a NEXTBAND */
BOOL
OutOfPage
;
/* Page header not sent yet */
...
...
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