Commit 810201cf authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

wintab32: Improve tracing of LOGCONTEXT.

parent de8be4a0
...@@ -113,28 +113,22 @@ static inline void DUMPPACKET(WTPACKET packet) ...@@ -113,28 +113,22 @@ static inline void DUMPPACKET(WTPACKET packet)
static inline void DUMPCONTEXT(LOGCONTEXTW lc) static inline void DUMPCONTEXT(LOGCONTEXTW lc)
{ {
TRACE("Name: %s, Options: %x, Status: %x, Locks: %x, MsgBase: %x, " TRACE("Name: %s, Options: %x, Status: %x, Locks: %x, MsgBase: %x, Device: %x\n",
"Device: %x, PktRate: %x, " wine_dbgstr_w(lc.lcName), lc.lcOptions, lc.lcStatus, lc.lcLocks, lc.lcMsgBase, lc.lcDevice);
"%x%s, %x%s, %x%s, " TRACE("PktRate %x\n", lc.lcPktRate);
"BtnDnMask: %x, BtnUpMask: %x, " TRACE("PktData 0x%04x %s\n", lc.lcPktData, DUMPBITS(lc.lcPktData));
"InOrgX: %i, InOrgY: %i, InOrgZ: %i, " TRACE("PktMode 0x%04x %s\n", lc.lcPktMode, DUMPBITS(lc.lcPktMode));
"InExtX: %i, InExtY: %i, InExtZ: %i, " TRACE("MovMask 0x%04x %s\n", lc.lcMoveMask, DUMPBITS(lc.lcMoveMask));
"OutOrgX: %i, OutOrgY: %i, OutOrgZ: %i, " TRACE("BtnDnMask: %x, BtnUpMask: %x\n", lc.lcBtnDnMask, lc.lcBtnUpMask);
"OutExtX: %i, OutExtY: %i, OutExtZ: %i, " TRACE("InOrgX: %i, InOrgY: %i, InOrgZ: %i\n", lc.lcInOrgX, lc.lcInOrgY, lc.lcInOrgZ);
"SensX: %i, SensY: %i, SensZ: %i, " TRACE("InExtX: %i, InExtY: %i, InExtZ: %i\n", lc.lcInExtX, lc.lcInExtY, lc.lcInExtZ);
"SysMode: %i, " TRACE("OutOrgX: %i, OutOrgY: %i, OutOrgZ: %i\n", lc.lcOutOrgX, lc.lcOutOrgY, lc.lcOutOrgZ);
"SysOrgX: %i, SysOrgY: %i, " TRACE("OutExtX: %i, OutExtY: %i, OutExtZ: %i\n", lc.lcOutExtX, lc.lcOutExtY, lc.lcOutExtZ);
"SysExtX: %i, SysExtY: %i, " TRACE("SensX: %i, SensY: %i, SensZ: %i\n", lc.lcSensX, lc.lcSensY, lc.lcSensZ);
"SysSensX: %i, SysSensY: %i\n", TRACE("SysMode: %i\n", lc.lcSysMode);
wine_dbgstr_w(lc.lcName), lc.lcOptions, lc.lcStatus, lc.lcLocks, lc.lcMsgBase, TRACE("SysOrgX: %i, SysOrgY: %i\n", lc.lcSysOrgX, lc.lcSysOrgY);
lc.lcDevice, lc.lcPktRate, lc.lcPktData, DUMPBITS(lc.lcPktData), TRACE("SysExtX: %i, SysExtY: %i\n", lc.lcSysExtX, lc.lcSysExtY);
lc.lcPktMode, DUMPBITS(lc.lcPktMode), lc.lcMoveMask, TRACE("SysSensX: %i, SysSensY: %i\n", lc.lcSysSensX, lc.lcSysSensY);
DUMPBITS(lc.lcMoveMask), lc.lcBtnDnMask, lc.lcBtnUpMask,
lc.lcInOrgX, lc.lcInOrgY, lc.lcInOrgZ, lc.lcInExtX, lc.lcInExtY,
lc.lcInExtZ, lc.lcOutOrgX, lc.lcOutOrgY, lc.lcOutOrgZ, lc.lcOutExtX,
lc.lcOutExtY, lc.lcOutExtZ, lc.lcSensX, lc.lcSensY, lc.lcSensZ, lc.lcSysMode,
lc.lcSysOrgX, lc.lcSysOrgY, lc.lcSysExtX, lc.lcSysExtY, lc.lcSysSensX,
lc.lcSysSensY);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment