Commit ca89d7e8 authored by Jeremy White's avatar Jeremy White Committed by Alexandre Julliard

wintab32: Add modest trace information for tablets.

parent 5d886557
......@@ -436,6 +436,7 @@ void X11DRV_LoadTabletInfo(HWND hwnddefault)
wine_tsx11_unlock();
return;
}
TRACE("XListInputDevices reports %d devices\n", num_devices);
for (loop=0; loop < num_devices; loop++)
{
int class_loop;
......
......@@ -367,6 +367,8 @@ static VOID TABLET_BlankPacketData(LPOPENCONTEXT context, LPVOID lpPkt, INT n)
UINT WINAPI WTInfoT(UINT wCategory, UINT nIndex, LPVOID lpOutput, BOOL bUnicode)
{
UINT result;
TRACE("(%d, %d, %p, %d)\n", wCategory, nIndex, lpOutput, bUnicode);
if (gLoaded == FALSE)
LoadTablet();
......@@ -409,7 +411,7 @@ UINT WINAPI WTInfoT(UINT wCategory, UINT nIndex, LPVOID lpOutput, BOOL bUnicode)
LOGCONTEXTWtoA(&buf, lpOutput);
}
return bUnicode ? sizeof(LOGCONTEXTW) : sizeof(LOGCONTEXTA);
result = bUnicode ? sizeof(LOGCONTEXTW) : sizeof(LOGCONTEXTA);
}
else if (is_string_field(wCategory, nIndex) && !bUnicode)
{
......@@ -422,6 +424,7 @@ UINT WINAPI WTInfoT(UINT wCategory, UINT nIndex, LPVOID lpOutput, BOOL bUnicode)
else
result = pWTInfoW(wCategory, nIndex, lpOutput);
TRACE("returns %d\n", result);
return result;
}
......
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