Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
bdf14227
Commit
bdf14227
authored
Dec 17, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Dec 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool.drv: Add more traces.
parent
fd193bc7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
info.c
dlls/winspool.drv/info.c
+6
-0
No files found.
dlls/winspool.drv/info.c
View file @
bdf14227
...
@@ -2248,6 +2248,8 @@ INT WINAPI DeviceCapabilitiesA(LPCSTR pDevice,LPCSTR pPort, WORD cap,
...
@@ -2248,6 +2248,8 @@ INT WINAPI DeviceCapabilitiesA(LPCSTR pDevice,LPCSTR pPort, WORD cap,
{
{
INT
ret
;
INT
ret
;
TRACE
(
"%s,%s,%u,%p,%p
\n
"
,
debugstr_a
(
pDevice
),
debugstr_a
(
pPort
),
cap
,
pOutput
,
lpdm
);
if
(
!
GDI_CallDeviceCapabilities16
)
if
(
!
GDI_CallDeviceCapabilities16
)
{
{
GDI_CallDeviceCapabilities16
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"gdi32"
),
GDI_CallDeviceCapabilities16
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"gdi32"
),
...
@@ -2288,6 +2290,8 @@ INT WINAPI DeviceCapabilitiesW(LPCWSTR pDevice, LPCWSTR pPort,
...
@@ -2288,6 +2290,8 @@ INT WINAPI DeviceCapabilitiesW(LPCWSTR pDevice, LPCWSTR pPort,
LPSTR
pPortA
=
strdupWtoA
(
pPort
);
LPSTR
pPortA
=
strdupWtoA
(
pPort
);
INT
ret
;
INT
ret
;
TRACE
(
"%s,%s,%u,%p,%p
\n
"
,
debugstr_w
(
pDevice
),
debugstr_w
(
pPort
),
fwCapability
,
pOutput
,
pDevMode
);
if
(
pOutput
&&
(
fwCapability
==
DC_BINNAMES
||
if
(
pOutput
&&
(
fwCapability
==
DC_BINNAMES
||
fwCapability
==
DC_FILEDEPENDENCIES
||
fwCapability
==
DC_FILEDEPENDENCIES
||
fwCapability
==
DC_PAPERNAMES
))
{
fwCapability
==
DC_PAPERNAMES
))
{
...
@@ -2454,6 +2458,8 @@ BOOL WINAPI OpenPrinterA(LPSTR lpPrinterName,HANDLE *phPrinter,
...
@@ -2454,6 +2458,8 @@ BOOL WINAPI OpenPrinterA(LPSTR lpPrinterName,HANDLE *phPrinter,
PWSTR
pwstrPrinterNameW
;
PWSTR
pwstrPrinterNameW
;
BOOL
ret
;
BOOL
ret
;
TRACE
(
"%s,%p,%p
\n
"
,
debugstr_a
(
lpPrinterName
),
phPrinter
,
pDefault
);
pwstrPrinterNameW
=
asciitounicode
(
&
lpPrinterNameW
,
lpPrinterName
);
pwstrPrinterNameW
=
asciitounicode
(
&
lpPrinterNameW
,
lpPrinterName
);
if
(
pDefault
)
{
if
(
pDefault
)
{
...
...
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