How to install a device driver using C ++ on Win32?

How to install device driver ( inf file ) using C ++?

Platform: Win32

+2
source share
2 answers

The process is usually called pre-installation. (The normal installation process is triggered by the arrival of a hardware device.)

Relevant features can be found in <DIFxAPI.h>the DDK. You probably want to call DriverPackageInstall(). The expected return value ERROR_NO_SUCH_DEVINST[sic], since there will be no such device yet.

64- : 64- Win32 ( , XP/Vista/Windows7/2003/2008). , Win32 , DriverPackageInstall() ERROR_IN_WOW64, CreateProcess, 64- .

+2
+2

Source: https://habr.com/ru/post/1785862/


All Articles