コード例 #1
0
 private void SoftwareControlValueChanged(IControl control)
 {
     if (control.ControlMode == ControlMode.Software)
     {
         ADLOD6FanSpeedValue adlf = new ADLOD6FanSpeedValue();
         adlf.iSpeedType = ADL.ADL_OD6_FANSPEED_TYPE_PERCENT;
         adlf.iFanSpeed  = (int)control.SoftwareValue;
         ADL.ADL_Overdrive6_FanSpeed_Set(adapterIndex, ref adlf);
     }
 }