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
3a477206
Commit
3a477206
authored
Aug 24, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localspl: Store fallback print processor in AddPrinterDriver.
parent
c73bea16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
provider.c
dlls/localspl/provider.c
+6
-0
No files found.
dlls/localspl/provider.c
View file @
3a477206
...
...
@@ -2019,6 +2019,12 @@ static BOOL myAddPrinterDriverEx(DWORD level, LPBYTE pDriverInfo, DWORD dwFileCo
else
RegSetValueExW
(
hdrv
,
L"Previous Names"
,
0
,
REG_MULTI_SZ
,
(
const
BYTE
*
)
L""
,
sizeof
(
L""
));
if
(
di
.
pszPrintProcessor
)
RegSetValueExW
(
hdrv
,
L"Print Processor"
,
0
,
REG_SZ
,
(
BYTE
*
)
di
.
pszPrintProcessor
,
(
wcslen
(
di
.
pszPrintProcessor
)
+
1
)
*
sizeof
(
WCHAR
));
else
RegSetValueExW
(
hdrv
,
L"Print Processor"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
L"winprint"
,
sizeof
(
L"winprint"
));
if
(
level
>
5
)
TRACE
(
"level %lu for Driver %s is incomplete
\n
"
,
level
,
debugstr_w
(
di
.
pName
));
RegCloseKey
(
hdrv
);
...
...
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