Ejemplo n.º 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);
Ejemplo n.º 2
0
 public static extern bool DiUninstallDevice(
     IntPtr hwndParent,
     SetupApi.SafeDeviceInfoSetHandle deviceInfoSet,
     ref SetupApi.SP_DEVINFO_DATA deviceInfoData,
     int flags,
     out bool needReboot);