2vision2
2vision2

Reputation: 5023

API to install driver from driverstore

Is there any APIs available to install the driver for my device say for example (PNPC031) from the driverstore or from the inf folder?

Upvotes: 2

Views: 1178

Answers (2)

tal
tal

Reputation: 111

Triggering plug-and-play detection for devices should install the driver for your device from the inf directory/driver store - if it finds a matching driver. Check out the CM_Reenumerate_DevNode_Ex API: http://msdn.microsoft.com/en-us/library/windows/hardware/ff539766(v=vs.85).aspx

If you know the path of your INF file you can install it with the Setup API: http://msdn.microsoft.com/en-us/library/aa377398(v=vs.85).aspx

Upvotes: 4

Xearinox
Xearinox

Reputation: 3234

I dont know, if this it exactly you want, but for install driver from inf file may use ADVAPACK.DLL API.

Upvotes: 1

Related Questions