Méthode | Description | |
---|---|---|
InstallInfDriver ( string filePath, string hardwareID, string description = "" ) : bool |
Installs a driver using its INF file
|
|
UninstallDevice ( string hardwareID ) : bool |
Removes all devices with a matching hardware ID
|
Méthode | Description | |
---|---|---|
SetupDiCallClassInstaller ( DI_FUNCTION InstallFunction, |
||
SetupDiCreateDeviceInfo ( |
||
SetupDiCreateDeviceInfoList ( GUID &ClassGuid, |
||
SetupDiDestroyDeviceInfoList ( |
||
SetupDiEnumDeviceInfo ( |
||
SetupDiGetClassDevsEx ( GUID &ClassGuid, string Enumerator, |
||
SetupDiGetClassDevsEx ( |
||
SetupDiGetDeviceInfoListDetail ( |
||
SetupDiGetDeviceRegistryProperty ( |
||
SetupDiGetDeviceRegistryProperty ( |
||
SetupDiGetINFClass ( string InfName, GUID &ClassGuid, [ ClassName, uint ClassNameSize, uint &RequiredSize ) : bool | ||
SetupDiSetClassInstallParams ( |
||
SetupDiSetClassInstallParams ( |
||
SetupDiSetDeviceRegistryProperty ( |
public static InstallInfDriver ( string filePath, string hardwareID, string description = "" ) : bool | ||
filePath | string | Relative or absolute INF file path |
hardwareID | string | ComponentID |
description | string | |
Résultat | bool |
public static UninstallDevice ( string hardwareID ) : bool | ||
hardwareID | string | ComponenetID |
Résultat | bool |