Hardware Device Status
-
When you use the Device Manager within Windows to look at any connected devices (i.e. keyboard) it has a 'Device Status' field. Can anyone tell me how I can access this information? cheers, Andy
have a look DeviceIoControl Device Management Control Codes http://msdn2.microsoft.com/en-us/library/aa363226.aspx
-
have a look DeviceIoControl Device Management Control Codes http://msdn2.microsoft.com/en-us/library/aa363226.aspx
Hi, thanks for your reply, I'm not sure that this does what I require (could be that I'm misunderstanding it. I've found the following articles which do what I want however it seems a bit overkill to have to install the Windows DDK just to access this information: http://www.codeproject.com/system/EnumDeviceProperties.asp[^] http://www.codeproject.com/system/EnumDevices.asp[^] is there a simpler way of doing this? TIA, Andy
-
Hi, thanks for your reply, I'm not sure that this does what I require (could be that I'm misunderstanding it. I've found the following articles which do what I want however it seems a bit overkill to have to install the Windows DDK just to access this information: http://www.codeproject.com/system/EnumDeviceProperties.asp[^] http://www.codeproject.com/system/EnumDevices.asp[^] is there a simpler way of doing this? TIA, Andy
As I understand, you will only need the DDK for the headers when you're compiliing the application, not for an end user to run it... Just make sure to test on a more normal envirnnment before distribution! Iain.