RhInstallDriver() public static method

public static RhInstallDriver ( String InDriverPath, String InDriverName ) : void
InDriverPath String
InDriverName String
return void
コード例 #1
0
 /// <summary>
 /// Loads the given driver into the kernel and immediately marks it for deletion.
 /// The installed driver will be registered with the service control manager under the
 /// <paramref name="InDriverName"/> you specify.
 /// Please note that you should use <see cref="IsX64System"/> to find out which
 /// driver to load. Even if your process is running on 32-Bit this does not mean,
 /// that the OS kernel is running on 32-Bit!
 /// </summary>
 /// <param name="InDriverPath"></param>
 /// <param name="InDriverName"></param>
 public static void InstallDriver(
     String InDriverPath,
     String InDriverName)
 {
     NativeAPI.RhInstallDriver(InDriverPath, InDriverName);
 }