Dmitry Timoshkov : winspool.drv: Add more traces.
Module: wine Branch: master Commit: bdf14227ab1c6b55c11f466c9650116c9e260c42 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bdf14227ab1c6b55c11f466c96... Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Mon Dec 17 17:40:38 2012 +0800 winspool.drv: Add more traces. --- dlls/winspool.drv/info.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) 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) {
participants (1)
-
Alexandre Julliard