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
25bb808c
Commit
25bb808c
authored
May 17, 2012
by
Huw Davies
Committed by
Alexandre Julliard
May 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localspl: Calling AddPrinterDriver on an existing driver should succeed.
parent
73a43092
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
provider.c
dlls/localspl/provider.c
+0
-7
No files found.
dlls/localspl/provider.c
View file @
25bb808c
...
@@ -1361,13 +1361,6 @@ static BOOL myAddPrinterDriverEx(DWORD level, LPBYTE pDriverInfo, DWORD dwFileCo
...
@@ -1361,13 +1361,6 @@ static BOOL myAddPrinterDriverEx(DWORD level, LPBYTE pDriverInfo, DWORD dwFileCo
}
}
RegCloseKey
(
hroot
);
RegCloseKey
(
hroot
);
if
(
disposition
==
REG_OPENED_EXISTING_KEY
)
{
TRACE
(
"driver %s already installed
\n
"
,
debugstr_w
(
di
.
pName
));
RegCloseKey
(
hdrv
);
SetLastError
(
ERROR_PRINTER_DRIVER_ALREADY_INSTALLED
);
return
FALSE
;
}
/* Verified with the Adobe PS Driver, that w2k does not use di.Version */
/* Verified with the Adobe PS Driver, that w2k does not use di.Version */
RegSetValueExW
(
hdrv
,
versionW
,
0
,
REG_DWORD
,
(
const
BYTE
*
)
&
env
->
driverversion
,
RegSetValueExW
(
hdrv
,
versionW
,
0
,
REG_DWORD
,
(
const
BYTE
*
)
&
env
->
driverversion
,
sizeof
(
DWORD
));
sizeof
(
DWORD
));
...
...
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