mirror of
https://github.com/tnodir/fort
synced 2024-11-15 01:47:47 +00:00
UI: Services: Show user SvcHost service's full names
This commit is contained in:
parent
141c68f9ec
commit
e59782028b
@ -73,10 +73,10 @@ void fillServiceInfoList(QVector<ServiceInfo> &infoList, const RegKey &servicesR
|
|||||||
for (int infoIndex = infoList.size(); serviceCount > 0;
|
for (int infoIndex = infoList.size(); serviceCount > 0;
|
||||||
--serviceCount, ++service, ++infoIndex) {
|
--serviceCount, ++service, ++infoIndex) {
|
||||||
|
|
||||||
auto serviceName = QString::fromUtf16((const char16_t *) service->lpServiceName);
|
const auto serviceName = QString::fromUtf16((const char16_t *) service->lpServiceName);
|
||||||
serviceName = resolveSvcHostServiceName(servicesReg, serviceName);
|
|
||||||
|
|
||||||
const RegKey svcReg(servicesReg, serviceName);
|
const auto originServiceName = resolveSvcHostServiceName(servicesReg, serviceName);
|
||||||
|
const RegKey svcReg(servicesReg, originServiceName);
|
||||||
|
|
||||||
if (!checkIsSvcHostService(svcReg))
|
if (!checkIsSvcHostService(svcReg))
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user