I have an app which is using DEVCON to do the following;
- Get device status
- Enable
- Disable
- All of the above based on compatible id's.
How can I do the same without using DEVCON at all? I still need the same functionality listed above.
I have looked into This question and answer but I need to tailor it more towards the criteria above. It also needs to work on x86, x64 and XP+.
Can anyone help with this?