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
71891e1f
Commit
71891e1f
authored
Jan 28, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Authors: Huw D M Davies <hdavies@codeweavers.com>, Dmitry Timoshkov <dmitry@codeweavers.com>
psdrv's DeviceCapabilities should list DMBIN_AUTO as an available bin.
parent
e1f6dc0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
driver.c
dlls/wineps/driver.c
+13
-0
No files found.
dlls/wineps/driver.c
View file @
71891e1f
...
...
@@ -405,6 +405,12 @@ DWORD WINAPI PSDRV_DeviceCapabilities16(LPCSTR lpszDevice, LPCSTR lpszPort,
WORD
*
wp
=
(
WORD
*
)
lpszOutput
;
int
i
=
0
;
/* We explicitly list DMBIN_AUTO first; actually while win9x does this
win2000 lists DMBIN_FORMSOURCE instead. */
i
++
;
if
(
lpszOutput
!=
NULL
)
*
wp
++
=
DMBIN_AUTO
;
for
(
slot
=
pi
->
ppd
->
InputSlots
;
slot
;
slot
=
slot
->
next
,
i
++
)
if
(
lpszOutput
!=
NULL
)
*
wp
++
=
slot
->
WinBin
;
...
...
@@ -417,6 +423,13 @@ DWORD WINAPI PSDRV_DeviceCapabilities16(LPCSTR lpszDevice, LPCSTR lpszPort,
char
*
cp
=
lpszOutput
;
int
i
=
0
;
/* Add an entry corresponding to DMBIN_AUTO, see DC_BINS */
i
++
;
if
(
lpszOutput
!=
NULL
)
{
strcpy
(
cp
,
"Automatically Select"
);
cp
+=
24
;
}
for
(
slot
=
pi
->
ppd
->
InputSlots
;
slot
;
slot
=
slot
->
next
,
i
++
)
if
(
lpszOutput
!=
NULL
)
{
lstrcpynA
(
cp
,
slot
->
FullName
,
24
);
...
...
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