device-manager

Reading Device Manager's Property Fields in Windows 7/8

≡放荡痞女 提交于 2019-12-03 13:34:35
问题 I am developing a windows application which gives the field details --> X. Where X is --> Right Click My Computer > Properties > Device Manager > (select any Item - Say KeyBoard) > Click it > standard PS/2 KeyBoard > double Click standard PS/2 KeyBoard > click the Details Tab > Under the Property there are various fields like Display Name , Problem Code,Parent Siblings, etc , etc? I want to get their values . Which Windows API I can use for this. I am doing this for windows 7 as well as

Reading Device Manager's Property Fields in Windows 7/8

ぐ巨炮叔叔 提交于 2019-12-03 03:29:44
I am developing a windows application which gives the field details --> X. Where X is --> Right Click My Computer > Properties > Device Manager > (select any Item - Say KeyBoard) > Click it > standard PS/2 KeyBoard > double Click standard PS/2 KeyBoard > click the Details Tab > Under the Property there are various fields like Display Name , Problem Code,Parent Siblings, etc , etc? I want to get their values . Which Windows API I can use for this. I am doing this for windows 7 as well as windows 8.I hope the API will remain the same.Also i am having 64 bit machine. This has to be true for any

How do I list device types using WMI?

≡放荡痞女 提交于 2019-12-01 23:10:41
问题 I'm using WMI Code Creator to generate code to help list the types of devices shown in Device Manager. I'm trying to detect the presence of a debugger that shows up in Device manager as its own type (e.g. Listed under my computer, the categories are Computer, Disk drives, Display adapters, Jungo..... Jungo is the one I want) Under Jungo, PEMicro USB Multilink (i0) and PEMicro USB Serial Port (i1) show up. I'm simply trying to verify that the device is present and detected by windows prior to

Driver's uninstall button is disabled

被刻印的时光 ゝ 提交于 2019-12-01 09:36:17
I've written my fairly simple first driver for a virtual device. It also has a .inf and I install the driver using devcon.exe . It install fine and functions properly but my problem is when I try to uninstall it: devcon.exe can't uninstall it and in Device Manager, the Uninstall, Roll Back and Disable buttons for the driver are disabled. My main concern for now is the Uninstall button. My driver implements the DriverObject->DriverUnload . I've look in the msdn docs, and for now I can't find any DDUninstall INF section for drivers. When I look in the %WinDir%\inf\setupapi.app.log I see the

Driver's uninstall button is disabled

时间秒杀一切 提交于 2019-12-01 08:46:48
问题 I've written my fairly simple first driver for a virtual device. It also has a .inf and I install the driver using devcon.exe. It install fine and functions properly but my problem is when I try to uninstall it: devcon.exe can't uninstall it and in Device Manager, the Uninstall, Roll Back and Disable buttons for the driver are disabled. My main concern for now is the Uninstall button. My driver implements the DriverObject->DriverUnload . I've look in the msdn docs, and for now I can't find

How do I get the friendly name of a COM port in Windows?

核能气质少年 提交于 2019-11-27 21:22:44
I have a GSM modem connected via USB. The modem creates 2 serial ports. The first is automatically attached to the modem, the second shows in Device Manager as "HUAWEI Mobile Connect - 3G PC UI Interface (COM6)" The second port is used to get vital information from the modem, such as signal quality; to send and receive text messages; and a whole host of other functions. I am writing an application that will wrap up some of the features provided by the second port. What I need is a sure fire method of identifying which COM port is the spare one. Iterating the ports and checking a response to

How do i lock phone programmatically android

喜欢而已 提交于 2019-11-27 02:25:29
问题 Ho do i lock my android phone programmatically ? I tried following this example. But when i click on the enable button the Activity pops up for few milliseconds and then closes automatically The log shows no error just this log Log.i("DeviceAdminSample", "Admin enable FAILED!"); Can any one tell me how to lock the android screen (Like the lock when make to many attempts in pattern lock and the phone locks down) Any help is appreciated 回答1: You have to make your app as admin, Read something