none
Question on GetRawPointerDeviceData(..) RRS feed

  • Question

  • Hello HID experts:

    I have noticed a new API for Windows 8 "GetRawPointerDeviceData". It's seem to me it will be able to retrieve raw data of a vendor defined field for a HID device.  Can someone tell me how does this API work? Does it made inquiry to the HID controller and retrieve the raw data directly?  Can a USB filter driver intercept it? If so how can that be done in the filter driver?

    Thanks in advance

    Polaris


    leo

    Saturday, December 20, 2014 8:49 PM

All replies

  • Nope, it is for non-mouse (e.g. touch, pen, etc.) pointer devices. This routine is for apps that need to extract property values that are not delivered in the WM_POINTER structures. Before calling this routine, you should call GetPointerDeviceProperties to find out what property information is available. The information available will vary from one device to another.

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog

    • Marked as answer by Brian CatlinModerator Sunday, December 21, 2014 4:35 AM
    • Unmarked as answer by SJ-Hills Sunday, December 21, 2014 4:57 AM
    • Marked as answer by Doron Holan [MSFT] Sunday, December 21, 2014 6:13 AM
    • Unmarked as answer by SJ-Hills Sunday, December 21, 2014 6:16 AM
    Sunday, December 21, 2014 4:35 AM
    Moderator
  • Thanks Brian for your response but I don't think my questions were answered. I know how to use the API in user mode apps. My questions how to intercept thee call inside a USB filter driver if possible. The purpose of doing so is to simulate a device's response.


    leo

    Sunday, December 21, 2014 5:00 AM
  • Hi Doron:

    I do not think my question has been answered, please do not mark it as such.

    Thanks


    leo

    Sunday, December 21, 2014 6:18 AM