[2/3] winspool.drv: Add more traces.

Dmitry Timoshkov dmitry at baikal.ru
Mon Dec 17 03:40:38 CST 2012


---
 dlls/winspool.drv/info.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index 45b49f3..60b621e 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -2248,6 +2248,8 @@ INT WINAPI DeviceCapabilitiesA(LPCSTR pDevice,LPCSTR pPort, WORD cap,
 {
     INT ret;
 
+    TRACE("%s,%s,%u,%p,%p\n", debugstr_a(pDevice), debugstr_a(pPort), cap, pOutput, lpdm);
+
     if (!GDI_CallDeviceCapabilities16)
     {
         GDI_CallDeviceCapabilities16 = (void*)GetProcAddress( GetModuleHandleA("gdi32"),
@@ -2288,6 +2290,8 @@ INT WINAPI DeviceCapabilitiesW(LPCWSTR pDevice, LPCWSTR pPort,
     LPSTR pPortA = strdupWtoA(pPort);
     INT ret;
 
+    TRACE("%s,%s,%u,%p,%p\n", debugstr_w(pDevice), debugstr_w(pPort), fwCapability, pOutput, pDevMode);
+
     if(pOutput && (fwCapability == DC_BINNAMES ||
 		   fwCapability == DC_FILEDEPENDENCIES ||
 		   fwCapability == DC_PAPERNAMES)) {
@@ -2454,6 +2458,8 @@ BOOL WINAPI OpenPrinterA(LPSTR lpPrinterName,HANDLE *phPrinter,
     PWSTR pwstrPrinterNameW;
     BOOL ret;
 
+    TRACE("%s,%p,%p\n", debugstr_a(lpPrinterName), phPrinter, pDefault);
+
     pwstrPrinterNameW = asciitounicode(&lpPrinterNameW,lpPrinterName);
 
     if(pDefault) {
-- 
1.8.0.2




More information about the wine-patches mailing list