setupapi Questions

1

Solved

Using device manager a user can explicitly enable/disable a device, as can be seen in the following image. For a given device I want to know if it's currently in a user disabled/enabled state. ...
Senhauser asked 15/11, 2017 at 7:9

1

I want a function to enumerate serial (COM) ports on Windows. For this purpose I mostly copied code from http://www.codeguru.com/cpp/w-p/system/hardwareinformation/article.php/c5721/Determining-Wha...
Cottle asked 10/11, 2015 at 22:21

2

Attempting to call SetupDiCallClassInstaller from a program compiled in 32 bit mode fails on 64 bit Windows. Apparently this is by design, but I'd like to know the reason.
Whistling asked 30/12, 2011 at 23:54

1

Solved

I'm trying to install a driver via an inf file using this command: rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 .\my_driver.inf According to MSDN (http://msdn.microsoft.com/en-us/...
Mesoblast asked 14/10, 2013 at 11:56

1

Solved

I know how to use the Setup API to enable and disable devices. What I need to know is, can I use this same API to determine if a device is enabled/disabled? I think the real question is how to use ...
Pontiff asked 29/3, 2012 at 21:5

4

Solved

When installing a signed driver (i.e. with a properly signed .CAB) on Windows 7 through DpInst, unless it's a WHQL-signed driver, you cannot install it silently. If you run DpInst in the non-silent...
Sulfathiazole asked 22/12, 2010 at 21:1

2

Solved

According to MSDN documentation, SetupDiGetClassDevs can be passed a device instance ID to obtain a device information set for a specific device: To return only a specific device, set the DIFCF...
Jimerson asked 5/6, 2009 at 15:55
1

© 2022 - 2024 — McMap. All rights reserved.