Reactos

[DLLHOST] Add dllhost to make the device driver extractor for my Lenovo T400 happy

+40
+1
base/system/CMakeLists.txt
··· 3 3 add_subdirectory(bootok) 4 4 add_subdirectory(chkdsk) 5 5 add_subdirectory(diskpart) 6 + add_subdirectory(dllhost) 6 7 add_subdirectory(expand) 7 8 add_subdirectory(format) 8 9 add_subdirectory(lsass)
+5
base/system/dllhost/CMakeLists.txt
··· 1 + 2 + add_executable(dllhost dllhost.c dllhost.rc) 3 + set_module_type(dllhost win32gui UNICODE) 4 + add_importlibs(dllhost msvcrt kernel32 ntdll) 5 + add_cd_file(TARGET dllhost DESTINATION reactos/system32 FOR all)
+30
base/system/dllhost/dllhost.c
··· 1 + /* 2 + * PROJECT: ReactOS DllHost 3 + * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+) 4 + * PURPOSE: COM surrogate. 5 + * COPYRIGHT: Copyright 2018 Eric Kohl 6 + */ 7 + 8 + /* INCLUDES *****************************************************************/ 9 + 10 + #include <windows.h> 11 + 12 + #define NDEBUG 13 + #include <debug.h> 14 + 15 + /* FUNCTIONS ****************************************************************/ 16 + 17 + INT 18 + WINAPI 19 + wWinMain( 20 + HINSTANCE hInst, 21 + HINSTANCE hPrevInst, 22 + LPWSTR lpCmdLine, 23 + INT nCmdShow) 24 + { 25 + DPRINT1("dllhost: %S\n", lpCmdLine); 26 + 27 + return 0; 28 + } 29 + 30 + /* EOF */
+4
base/system/dllhost/dllhost.rc
··· 1 + #define REACTOS_STR_FILE_DESCRIPTION "COM Surrogate" 2 + #define REACTOS_STR_INTERNAL_NAME "dllhost" 3 + #define REACTOS_STR_ORIGINAL_FILENAME "dllhost.exe" 4 + #include <reactos/version.rc>