[0.4.10][WMISVC][SRVSVC][WKSSVC][DHCPSVC][WUAUSERV] Start/Stop behavior

by partially porting back:
0.4.15-dev-xxx [WMISVC][WUAUSERV] Fix 2 DPRINTs that lack arguments
0.4.13-dev-684-g eab73ad1a4 [SRVSVC] Make the server service stoppable
0.4.13-dev-683-g 4073a8c58d [WKSSVC] Make the workstation service stoppable
0.4.13-dev-680-g eb532bc641 [WMISVC] Accept stop and shutdown commands when the service is running
0.4.12-dev-1063-g 15a828c86d [DHCPCSVC] Eliminate unused code and associated parameters

and revert 0.4.10-dev-558-g 55368bacc8 (#355) [WUAUSERV][WUSA]
on this branch as that Service stub does not even start in releases/0.4.10-0.4.12.
And it doesn't allow any application to run that wouldn't have run before.
Even with those changes the .NET4.5 and Python 3.5 mentioned in that PR don't work yet.
We postpone introduction of WUAUSERV to releases/0.4.13 therefore.
This commit is contained in:
Joachim Henze 2023-03-06 11:47:27 +01:00
parent bae7d64ec7
commit 1bb175b0b5
20 changed files with 22 additions and 279 deletions

View file

@ -43,4 +43,3 @@ add_subdirectory(winhlp32)
add_subdirectory(winver)
add_subdirectory(wordpad)
add_subdirectory(write)
add_subdirectory(wusa)

View file

@ -1,6 +0,0 @@
add_rc_deps(resource.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/setup.ico)
add_executable(wusa wusa.c resource.rc)
set_module_type(wusa win32gui UNICODE)
add_importlibs(wusa shell32 msvcrt kernel32)
add_cd_file(TARGET wusa DESTINATION reactos/system32 FOR all)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

View file

@ -1,3 +0,0 @@
#pragma once
#define IDI_WUSA 101

View file

@ -1,14 +0,0 @@
#include <windef.h>
#include "resource.h"
/* Common resources */
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS WUSA stub"
#define REACTOS_STR_INTERNAL_NAME "wusa"
#define REACTOS_STR_ORIGINAL_FILENAME "wusa.exe"
#include <reactos/version.rc>
IDI_WUSA ICON "res/setup.ico"

View file

@ -1,19 +0,0 @@
/*
* PROJECT: ReactOS Update Service
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
* PURPOSE: Windows Update Stand-Alone installer.
* Stub is required for some application at the installation phase.
* COPYRIGHT: Copyright 2018 Denis Malikov (filedem@gmail.com)
*/
#include "wusa.h"
int
WINAPI
wWinMain(HINSTANCE hCurInst,
HINSTANCE hPrevInst,
LPWSTR lpsCmdLine,
int nCmdShow)
{
return 0;
}

View file

@ -1,4 +0,0 @@
#define WIN32_NO_STATUS
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <wchar.h>