Revert "Fix/printer printable area (#12433)" (#12441)

This reverts commit 6e62c10fa0.
This commit is contained in:
RustDesk
2025-07-28 10:38:19 +08:00
committed by GitHub
parent 6e62c10fa0
commit e9692b94ca
4 changed files with 10 additions and 31 deletions

View File

@@ -49,15 +49,6 @@ bool MyCreateServiceW(LPCWSTR serviceName, LPCWSTR displayName, LPCWSTR binaryPa
WcaLog(LOGMSG_STANDARD, "Service installed successfully\n");
}
SERVICE_DELAYED_AUTO_START_INFO delayedStart = { TRUE };
if (!ChangeServiceConfig2W(
schService,
SERVICE_CONFIG_DELAYED_AUTO_START_INFO,
&delayedStart
)) {
WcaLog(LOGMSG_STANDARD, "Failed to configure delayed auto-start for service: %ls, Error: %d\n", serviceName, GetLastError());
}
CloseServiceHandle(schService);
CloseServiceHandle(schSCManager);
return true;