Prev: printer driver install on Windows 7 x64
Next: What can cause error STATUS_DEVICE_POWER_FAILURE?
From: JY on 4 Feb 2010 02:18 Hi, I have an MFC application which needs to install a driver (I could use SetupCopyOEMInf() or DriverPackageInstall() , etc), but I have to check if it is already installed, and proceed only if it isn't. How do I check this? Is there any API available for this? TIA, JY
From: Maxim S. Shatskih on 4 Feb 2010 05:22 > SetupCopyOEMInf() or DriverPackageInstall() , etc), but I have to check if it > is already installed, and proceed only if it isn't. How do I check this? Is > there any API available for this? Look at the source of "devcon enum" -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
From: JY on 4 Feb 2010 06:28 > Look at the source of "devcon enum" > Could you post the link to it? I couldn't find it. TIA, JY
From: Don Burn on 4 Feb 2010 08:32 The source is in src\setup\devcon in the WDK directory. Enum is one of the commands, it cannot be posted. -- Don Burn (MVP, Windows DKD) Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr Remove StopSpam to reply "JY" <sd(a)nospamgroup.com> wrote in message news:4DE68B0D-E126-4D91-8375-D3B700CAC951(a)microsoft.com... >> Look at the source of "devcon enum" >> > Could you post the link to it? I couldn't find it. > TIA, > JY > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4834 (20100204) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4834 (20100204) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
From: JY on 5 Feb 2010 02:08 "Don Burn" wrote: > The source is in src\setup\devcon in the WDK directory. Enum is one of the > commands, it cannot be posted. OK, I've got the code for devcon, but did not find any command named "Enum" in those files (specifically cmds.cpp). Could you let me know which command in particular to refer to? TIA, JY
|
Next
|
Last
Pages: 1 2 Prev: printer driver install on Windows 7 x64 Next: What can cause error STATUS_DEVICE_POWER_FAILURE? |