mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:56:26 +00:00
[DLLHOST] Add dllhost to make the device driver extractor for my Lenovo T400 happy
This commit is contained in:
parent
cbfe4d023b
commit
2bbac12427
4 changed files with 40 additions and 0 deletions
|
@ -3,6 +3,7 @@ add_subdirectory(autochk)
|
||||||
add_subdirectory(bootok)
|
add_subdirectory(bootok)
|
||||||
add_subdirectory(chkdsk)
|
add_subdirectory(chkdsk)
|
||||||
add_subdirectory(diskpart)
|
add_subdirectory(diskpart)
|
||||||
|
add_subdirectory(dllhost)
|
||||||
add_subdirectory(expand)
|
add_subdirectory(expand)
|
||||||
add_subdirectory(format)
|
add_subdirectory(format)
|
||||||
add_subdirectory(lsass)
|
add_subdirectory(lsass)
|
||||||
|
|
5
base/system/dllhost/CMakeLists.txt
Normal file
5
base/system/dllhost/CMakeLists.txt
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
add_executable(dllhost dllhost.c dllhost.rc)
|
||||||
|
set_module_type(dllhost win32gui UNICODE)
|
||||||
|
add_importlibs(dllhost msvcrt kernel32 ntdll)
|
||||||
|
add_cd_file(TARGET dllhost DESTINATION reactos/system32 FOR all)
|
30
base/system/dllhost/dllhost.c
Normal file
30
base/system/dllhost/dllhost.c
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
/*
|
||||||
|
* PROJECT: ReactOS DllHost
|
||||||
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
||||||
|
* PURPOSE: COM surrogate.
|
||||||
|
* COPYRIGHT: Copyright 2018 Eric Kohl
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES *****************************************************************/
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
|
/* FUNCTIONS ****************************************************************/
|
||||||
|
|
||||||
|
INT
|
||||||
|
WINAPI
|
||||||
|
wWinMain(
|
||||||
|
HINSTANCE hInst,
|
||||||
|
HINSTANCE hPrevInst,
|
||||||
|
LPWSTR lpCmdLine,
|
||||||
|
INT nCmdShow)
|
||||||
|
{
|
||||||
|
DPRINT1("dllhost: %S\n", lpCmdLine);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* EOF */
|
4
base/system/dllhost/dllhost.rc
Normal file
4
base/system/dllhost/dllhost.rc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#define REACTOS_STR_FILE_DESCRIPTION "COM Surrogate"
|
||||||
|
#define REACTOS_STR_INTERNAL_NAME "dllhost"
|
||||||
|
#define REACTOS_STR_ORIGINAL_FILENAME "dllhost.exe"
|
||||||
|
#include <reactos/version.rc>
|
Loading…
Add table
Add a link
Reference in a new issue