Skip to content

Commit

Permalink
Tweak a minor bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
BeneficialCode committed Aug 1, 2024
1 parent 70bfa04 commit f9e0510
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion WinArk/MainFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ void CMainFrame::InitServiceTable() {
{20,"Service Type",0},
{20,"Process ID"},
{30,"Process Name"},
{20,"Boot Type",0},
{20,"Start Type",0},
{260,"Binary Path",0},
{30,"Account Name",0},
{20,"Error Control",0},
Expand Down
3 changes: 3 additions & 0 deletions WinSysCore/ServiceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ std::unique_ptr<ServiceConfiguration> ServiceManager::GetServiceConfiguration(co
}
}
}
result->Tag = config->dwTagId;
result->StartType = static_cast<ServiceStartType>(config->dwStartType);
result->ErrorControl = static_cast<ServiceErrorControl>(config->dwErrorControl);

if (result->StartType == ServiceStartType::Auto) {
// check if delayed auto start
Expand Down

0 comments on commit f9e0510

Please sign in to comment.