Beispiel #1
0
void CLEDSlidersDlg::OnBnClickedCancel()
{
#ifndef USE_LOGITECH_DLL_ONLY
    LogiLedShutdown();
#else
    g_lpfnDllShutdown();
#endif

    CDialogEx::OnCancel();
}
 LFXE_API bool DeviceLogitech::Disable() {
     if (this->IsEnabled()) {
         if (Device::Disable()) {
             LogiLedRestoreLighting();
             LogiLedShutdown();
         } else {
             return false;
         }
     }
     return true;
 }