[USER.EXE]: Add a *stub* user.exe to make the DirectX 9.0 installer happy (it searches user.exe for existence for no reason, and if it cannot find it, the installer bails out). (WARNING: This is in NO WAY our implementation of WoW16!!)

Reported on https://www.reactos.org/forum/viewtopic.php?f=4&t=15576 , http://reactos.org/forum/viewtopic.php?f=4&t=16498 .
This is not a ReactOS problem per se, because it also happens on Windows, as reported here:
https://xpetips.wordpress.com/2009/09/18/installing-directx-9-0c-on-xpe/ and http://www.xpembedded.info/DirectX_v9_0c_and_finding_missing_components_.html .

svn path=/trunk/; revision=75126
This commit is contained in:
Hermès Bélusca-Maïto 2017-06-19 14:24:48 +00:00
parent a82d7577b3
commit ee591f5b01
4 changed files with 33 additions and 1 deletions

View file

@ -10,4 +10,4 @@ if(ARCH STREQUAL "i386")
add_subdirectory(samples)
endif()
add_subdirectory(vdmdbg)
#add_subdirectory(wow16)
add_subdirectory(wow16)

View file

@ -0,0 +1,2 @@
add_subdirectory(user)

View file

@ -0,0 +1,5 @@
add_executable(user user.c)
set_module_type(user win32gui ENTRYPOINT mainCRTStartup)
add_importlibs(user msvcrt kernel32)
add_cd_file(TARGET user DESTINATION reactos/system32 FOR all)

View file

@ -0,0 +1,25 @@
/*
* COPYRIGHT: GPL - See COPYING in the top level directory
* PROJECT: ReactOS-on-ReactOS-16bit (aka. RoR16 or WoW16)
* FILE: subsystems/mvdm/wow16/user.c
* PURPOSE: 16-bit USER stub module
* PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
*/
/* INCLUDES *******************************************************************/
/* PSDK Headers */
#define WIN32_NO_STATUS
#include <windef.h>
#include <winbase.h>
#define NDEBUG
#include <debug.h>
/* PUBLIC FUNCTIONS ***********************************************************/
INT main(INT argc, const CHAR *argv[])
{
OutputDebugStringA("USER.EXE: stub\n");
return 0;
}