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
b74c9a64
Commit
b74c9a64
authored
Mar 30, 2012
by
Huw Davies
Committed by
Alexandre Julliard
Mar 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Keep track of any supplied devmode.
parent
736fdbde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
info.c
dlls/winspool.drv/info.c
+5
-0
No files found.
dlls/winspool.drv/info.c
View file @
b74c9a64
...
...
@@ -96,6 +96,7 @@ typedef struct {
HANDLE
backend_printer
;
jobqueue_t
*
queue
;
started_doc_t
*
doc
;
DEVMODEW
*
devmode
;
}
opened_printer_t
;
typedef
struct
{
...
...
@@ -778,6 +779,7 @@ static void free_printer_entry( opened_printer_t *printer )
/* the queue is shared, so don't free that here */
HeapFree
(
GetProcessHeap
(),
0
,
printer
->
printername
);
HeapFree
(
GetProcessHeap
(),
0
,
printer
->
name
);
HeapFree
(
GetProcessHeap
(),
0
,
printer
->
devmode
);
HeapFree
(
GetProcessHeap
(),
0
,
printer
);
}
...
...
@@ -872,6 +874,9 @@ static HANDLE get_opened_printer_entry(LPWSTR name, LPPRINTER_DEFAULTSW pDefault
goto
end
;
}
if
(
pDefault
&&
pDefault
->
pDevMode
)
printer
->
devmode
=
dup_devmode
(
pDefault
->
pDevMode
);
if
(
queue
)
printer
->
queue
=
queue
;
else
...
...
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