wintab32: Add modest trace information for tablets.
This commit is contained in:
parent
5d886557df
commit
ca89d7e809
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue