I have an HID input device which emulates as keyboard. In the PC side tool source code which is existing from long time, there is a call to HidD_GetFeature.
This particular call is failing occassionally on Windows 8.1. GetLastError points to 87. Subsequent tries of same call succeeds. Previously this never failed with Win 7, 8, XP, POSReady7. I am using HID.lib from old DDK build.
Since the call works normally in other flavors for years together, I am sure that the remarks regarding the top level collection at the documentation has been addressed normally without any conflicts.
Do I need to use HID.lib from new DDK. Anything in this area has major change in Windows 8.1 because of which I am seeing this failure. Please revert back with inputs.
The version of the .lib doesn’t matter, it just resolves to the export name, not functional code. Perhaps you are corrupting an argument and the bug is latent until 8.1
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, July 30, 2014 9:17 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] HidD_GetFeature Failure Windows 8.1
I have an HID input device which emulates as keyboard. In the PC side tool source code which is existing from long time, there is a call to HidD_GetFeature.
This particular call is failing occassionally on Windows 8.1. GetLastError points to 87. Subsequent tries of same call succeeds. Previously this never failed with Win 7, 8, XP, POSReady7. I am using HID.lib from old DDK build.
Since the call works normally in other flavors for years together, I am sure that the remarks regarding the top level collection at the documentation has been addressed normally without any conflicts.
Do I need to use HID.lib from new DDK. Anything in this area has major change in Windows 8.1 because of which I am seeing this failure. Please revert back with inputs.
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