| 204 | } |
| 205 | |
| 206 | void CServiceManage::OnStartService() |
| 207 | { |
| 208 | // TODO: Add your control notification handler code here |
| 209 | |
| 210 | m_bStarted = Ext2StartExt2Fsd(); |
| 211 | |
| 212 | if (m_bStarted) { |
| 213 | m_srvStatus = _T("Ext2Fsd was just started."); |
| 214 | GetParent()->SetTimer('REFF', 500, NULL); |
| 215 | GetParent()->SetTimer('REFR', 3000, NULL); |
| 216 | } else { |
| 217 | m_srvStatus = _T("Ext2Fsd could NOT be started."); |
| 218 | } |
| 219 | |
| 220 | SET_WIN(IDC_START_SERVICE, !m_bStarted); |
| 221 | UpdateData(FALSE); |
| 222 | } |
nothing calls this directly
no test coverage detected