mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 03:27:31 +00:00
90aff2947b
- Comment some other missing exports Windows regapi.dll has them, but Wine's one doesn't. Required by MS winlogon with Win32SS replaced. I double-rechecked: now it doesn't fail due to missing regapi.dll in system32 or separate missing functions in this dll, exactly the same as with MS regapi. In pair with my profmap.dll (which was merged recently), now it fails due to InitializeUserProfile() stub in our userenv.dll (if to replace msgina too). Also I compared the exports of MS regapi.dll and Wine's one. Win2k3 version has all exports that Wine version has and some others (which looks like were dropped in NT6). But those exports which already exist, are enough to allow MS winlogon no longer fail. CORE-16458
16 lines
479 B
CMake
16 lines
479 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
spec2def(regapi.dll regapi.spec)
|
|
|
|
list(APPEND SOURCE
|
|
main.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/regapi_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/regapi.def)
|
|
|
|
add_library(regapi MODULE ${SOURCE})
|
|
set_module_type(regapi win32dll)
|
|
target_link_libraries(regapi wine)
|
|
add_importlibs(regapi advapi32 msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET regapi DESTINATION reactos/system32 FOR all)
|