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
fc780346
Commit
fc780346
authored
Apr 30, 2007
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Apr 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Return the correct errorcode in OpenPrinter (Xcv).
parent
174d050b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
info.c
dlls/winspool.drv/info.c
+2
-2
No files found.
dlls/winspool.drv/info.c
View file @
fc780346
...
@@ -1419,7 +1419,7 @@ static HANDLE get_opened_printer_entry(LPCWSTR name, LPPRINTER_DEFAULTSW pDefaul
...
@@ -1419,7 +1419,7 @@ static HANDLE get_opened_printer_entry(LPCWSTR name, LPPRINTER_DEFAULTSW pDefaul
TRACE
(
",XcvMonitor: %s
\n
"
,
debugstr_w
(
&
printername
[
len
]));
TRACE
(
",XcvMonitor: %s
\n
"
,
debugstr_w
(
&
printername
[
len
]));
printer
->
pm
=
monitor_load
(
&
printername
[
len
],
NULL
);
printer
->
pm
=
monitor_load
(
&
printername
[
len
],
NULL
);
if
(
printer
->
pm
==
NULL
)
{
if
(
printer
->
pm
==
NULL
)
{
SetLastError
(
ERROR_
INVALID_PARAMETER
);
SetLastError
(
ERROR_
UNKNOWN_PORT
);
handle
=
0
;
handle
=
0
;
goto
end
;
goto
end
;
}
}
...
@@ -1432,7 +1432,7 @@ static HANDLE get_opened_printer_entry(LPCWSTR name, LPPRINTER_DEFAULTSW pDefaul
...
@@ -1432,7 +1432,7 @@ static HANDLE get_opened_printer_entry(LPCWSTR name, LPPRINTER_DEFAULTSW pDefaul
TRACE
(
",XcvPort: %s
\n
"
,
debugstr_w
(
&
printername
[
len
]));
TRACE
(
",XcvPort: %s
\n
"
,
debugstr_w
(
&
printername
[
len
]));
printer
->
pm
=
monitor_load_by_port
(
&
printername
[
len
]);
printer
->
pm
=
monitor_load_by_port
(
&
printername
[
len
]);
if
(
printer
->
pm
==
NULL
)
{
if
(
printer
->
pm
==
NULL
)
{
SetLastError
(
ERROR_
INVALID_PARAMETER
);
SetLastError
(
ERROR_
UNKNOWN_PORT
);
handle
=
0
;
handle
=
0
;
goto
end
;
goto
end
;
}
}
...
...
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