BetterExplorer.UsbEject.Native.SetupDiDestroyDeviceInfoList C# (CSharp) Метод

SetupDiDestroyDeviceInfoList() приватный Метод

private SetupDiDestroyDeviceInfoList ( IntPtr deviceInfoSet ) : uint
deviceInfoSet System.IntPtr
Результат uint
		internal static extern uint SetupDiDestroyDeviceInfoList(
			IntPtr deviceInfoSet);

Usage Example

Пример #1
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     if (_deviceInfoSet != IntPtr.Zero)
     {
         Native.SetupDiDestroyDeviceInfoList(_deviceInfoSet);
         _deviceInfoSet = IntPtr.Zero;
     }
 }