private void Form_Close(object sender, FormClosingEventArgs e)
{
rootHub.Close();
if (m_Ds3Notify != IntPtr.Zero) ScpDevice.UnregisterNotify(m_Ds3Notify);
if (m_Ds4Notify != IntPtr.Zero) ScpDevice.UnregisterNotify(m_Ds4Notify);
if (m_BthNotify != IntPtr.Zero) ScpDevice.UnregisterNotify(m_BthNotify);
if (_genericNotify != IntPtr.Zero) ScpDevice.UnregisterNotify(_genericNotify);
}