예제 #1
0
 public static extern unsafe bool DiInstallDevice(
     IntPtr hwndParent,
     SetupApi.SafeDeviceInfoSetHandle deviceInfoSet,
     [Friendly(FriendlyFlags.In)] SetupApi.SP_DEVINFO_DATA *deviceInfoData,
     [Friendly(FriendlyFlags.In)] SetupApi.SP_DRVINFO_DATA *driverInfoData,
     InstallDeviceFlags flags,
     out bool needReboot);
예제 #2
0
 public static extern bool DiUninstallDevice(
     IntPtr hwndParent,
     SetupApi.SafeDeviceInfoSetHandle deviceInfoSet,
     ref SetupApi.SP_DEVINFO_DATA deviceInfoData,
     int flags,
     out bool needReboot);