wintab32: Add modest trace information for tablets.

oldstable
Jeremy White 2007-12-30 11:41:54 -06:00 committed by Alexandre Julliard
parent 5d886557df
commit ca89d7e809
2 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -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;
}