Hi, newbie at windows driver development here. In the context of user applications, I know that when handling pen/touch events, the pointer ID is read-only and is generated by the “system”. However, in kernel mode, can a filter driver directly control the number that is assigned to be that ID? Or does the windows kernel itself do all the work on assigning numbers to pointer IDs that user apps see?
Thanks.
If you mean hw id, no, you can’t trivially change what is reported. If you mean a win32 pointer id abstraction, drivers are not exposed to that.
d
Bent from my phone
From: xxxxx@gmail.commailto:xxxxx
Sent: ?2/?16/?2015 10:54 PM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: [ntdev] Setting touch/pen/pointer ID through kernel filter driver - possible?
Hi, newbie at windows driver development here. In the context of user applications, I know that when handling pen/touch events, the pointer ID is read-only and is generated by the “system”. However, in kernel mode, can a filter driver directly control the number that is assigned to be that ID? Or does the windows kernel itself do all the work on assigning numbers to pointer IDs that user apps see?
Thanks.
—
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>
AFAIK completely a win32/user mode thing, not exposed to drivers
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Monday, February 16, 2015 11:19 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Setting touch/pen/pointer ID through kernel filter driver - possible?
I mean this: https://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.ui.xaml.input.pointer.pointerid.aspx
So I guess the OS itself handles the assignment of numbers on those IDs?
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Okay I understand, thanks!