On Dec 23, 2007 11:55 AM, Jeremy White <[EMAIL PROTECTED]> wrote: > ...snip.. > +static int cursor_from_device(DWORD deviceid, LPWTI_CURSORS_INFO *cursorp) > +{ > + int i; > + for (i = 0; i < gNumCursors; i++) > + if (gSysCursor[i].PHYSID == deviceid) > + { > + *cursorp = &gSysCursor[i]; > + return i; > + } > + > + ERR("Could not map device id %d to a cursor\n", (int) deviceid); > + return -1; > } > > ...snip..
Perhaps a silly and/or wrong observation but, is this in an effort to support multiple cursors?