ZForge.Win32.RemovableDriveDetector.DisableQueryRemove C# (CSharp) Method

DisableQueryRemove() public method

Unhooks any currently hooked drive so that the query remove message is not generated for it.
public DisableQueryRemove ( ) : void
return void
        public void DisableQueryRemove()
        {
            if (mDeviceNotifyHandle != IntPtr.Zero)
            {
                RegisterForDeviceChange(false, null);
            }
        }