| Author |
Message |
pandasanta
Joined: 19 Apr 2010 Posts: 3
|
Posted: Wed Apr 28, 2010 5:47 pm Post subject: Display Enable/Disabled status for devices |
|
|
Which setupapi.dll function allows me to get the current status of a device?
In my C# application, I've already used P/Invoke to call SetupDiGetClassDevs > SetupDiEnumDeviceInfo > SetupDiGetDeviceRegistryProperty to get the names of the devices. Now, I want to display whether or not they are currently enabled or disabled.
Later, I will have code that changes the status. I've found information on MSDN about that, but right now, I don't know how to even get the current state.
Thanks! |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group