mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
8d3045622e
Instead of loading systemcompatible.manifest as the implicit activation context, load forwardcompatible.manifest Add a new assembly containing all apisets called ReactOS.Apisets and make it a dependency to forwardcompatible.manifest
249 lines
14 KiB
CMake
249 lines
14 KiB
CMake
|
|
# This file is generated by update.py, please edit CMakeLists.txt.in instead
|
|
# Generated from wine-3.5-91-g3263d51a1f
|
|
|
|
project(apisets)
|
|
|
|
function (add_apiset apiset_name baseaddress)
|
|
spec2def(${apiset_name}.dll ${apiset_name}.spec ADD_IMPORTLIB)
|
|
|
|
add_definitions(
|
|
-D_CTYPE_DISABLE_MACROS
|
|
-D_NO_INLINING
|
|
-D__CRT__NO_INLINE
|
|
-D__STDC_WANT_SECURE_LIB__=0
|
|
-D_INC_STRING
|
|
-D_CTYPE_DEFINED
|
|
-D_WCTYPE_DEFINED
|
|
-D_CRT_ERRNO_DEFINED)
|
|
|
|
add_library(${apiset_name} SHARED
|
|
${CMAKE_CURRENT_BINARY_DIR}/${apiset_name}_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/${apiset_name}.def)
|
|
|
|
add_dependencies(${apiset_name} xdk)
|
|
set_module_type(${apiset_name} win32dll ENTRYPOINT 0 UNICODE IMAGEBASE ${baseaddress})
|
|
|
|
if(NOT MSVC)
|
|
add_target_compile_flags(${apiset_name} "-fno-builtin")
|
|
else()
|
|
add_target_compile_flags(${apiset_name} "/wd4026 /wd4273")
|
|
endif()
|
|
|
|
add_importlibs(${apiset_name} ${ARGN} kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET ${apiset_name} DESTINATION reactos/winsxs/x86_reactos.apisets_6595b64144ccf1df_1.0.0.0_none_deadbeef FOR all)
|
|
endfunction()
|
|
|
|
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_reactos.apisets_6595b64144ccf1df_1.0.0.0_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)
|
|
|
|
# Apisets will be appended
|
|
|
|
add_apiset(api-ms-win-appmodel-identity-l1-1-0 0x60000000 )
|
|
add_apiset(api-ms-win-appmodel-runtime-l1-1-1 0x60020000 )
|
|
add_apiset(api-ms-win-appmodel-runtime-l1-1-2 0x60040000 )
|
|
add_apiset(api-ms-win-core-apiquery-l1-1-0 0x60060000 )
|
|
add_apiset(api-ms-win-core-appcompat-l1-1-1 0x60070000 )
|
|
add_apiset(api-ms-win-core-appinit-l1-1-0 0x60080000 )
|
|
add_apiset(api-ms-win-core-atoms-l1-1-0 0x60090000 )
|
|
add_apiset(api-ms-win-core-bem-l1-1-0 0x600a0000 )
|
|
add_apiset(api-ms-win-core-com-l1-1-0 0x600b0000 ole32)
|
|
add_apiset(api-ms-win-core-com-l1-1-1 0x600c0000 ole32)
|
|
add_apiset(api-ms-win-core-com-private-l1-1-0 0x600e0000 ole32)
|
|
add_apiset(api-ms-win-core-console-l1-1-0 0x60130000 )
|
|
add_apiset(api-ms-win-core-console-l2-1-0 0x60140000 )
|
|
add_apiset(api-ms-win-core-crt-l1-1-0 0x60150000 msvcrt)
|
|
add_apiset(api-ms-win-core-crt-l2-1-0 0x60180000 msvcrt)
|
|
add_apiset(api-ms-win-core-datetime-l1-1-0 0x60190000 )
|
|
add_apiset(api-ms-win-core-datetime-l1-1-1 0x601a0000 )
|
|
add_apiset(api-ms-win-core-debug-l1-1-0 0x601b0000 )
|
|
add_apiset(api-ms-win-core-debug-l1-1-1 0x601c0000 )
|
|
add_apiset(api-ms-win-core-delayload-l1-1-0 0x601d0000 )
|
|
add_apiset(api-ms-win-core-delayload-l1-1-1 0x601e0000 )
|
|
add_apiset(api-ms-win-core-errorhandling-l1-1-0 0x601f0000 )
|
|
add_apiset(api-ms-win-core-errorhandling-l1-1-1 0x60200000 )
|
|
add_apiset(api-ms-win-core-errorhandling-l1-1-2 0x60210000 )
|
|
add_apiset(api-ms-win-core-errorhandling-l1-1-3 0x60220000 )
|
|
add_apiset(api-ms-win-core-fibers-l1-1-0 0x60230000 )
|
|
add_apiset(api-ms-win-core-fibers-l1-1-1 0x60240000 )
|
|
add_apiset(api-ms-win-core-file-l1-1-0 0x60250000 )
|
|
add_apiset(api-ms-win-core-file-l1-2-0 0x60260000 )
|
|
add_apiset(api-ms-win-core-file-l1-2-1 0x60270000 )
|
|
add_apiset(api-ms-win-core-file-l1-2-2 0x60280000 )
|
|
add_apiset(api-ms-win-core-file-l2-1-0 0x60290000 kernel32_vista)
|
|
add_apiset(api-ms-win-core-file-l2-1-1 0x602a0000 kernel32_vista)
|
|
add_apiset(api-ms-win-core-file-l2-1-2 0x602b0000 kernel32_vista)
|
|
add_apiset(api-ms-win-core-handle-l1-1-0 0x602c0000 )
|
|
add_apiset(api-ms-win-core-heap-l1-1-0 0x602d0000 )
|
|
add_apiset(api-ms-win-core-heap-l1-2-0 0x602e0000 )
|
|
add_apiset(api-ms-win-core-heap-l2-1-0 0x602f0000 )
|
|
add_apiset(api-ms-win-core-heap-obsolete-l1-1-0 0x60300000 )
|
|
add_apiset(api-ms-win-core-interlocked-l1-1-0 0x60310000 )
|
|
add_apiset(api-ms-win-core-interlocked-l1-2-0 0x60320000 )
|
|
add_apiset(api-ms-win-core-io-l1-1-0 0x60330000 )
|
|
add_apiset(api-ms-win-core-io-l1-1-1 0x60340000 )
|
|
add_apiset(api-ms-win-core-job-l1-1-0 0x60350000 )
|
|
add_apiset(api-ms-win-core-job-l2-1-0 0x60360000 )
|
|
add_apiset(api-ms-win-core-kernel32-legacy-l1-1-0 0x60370000 )
|
|
add_apiset(api-ms-win-core-kernel32-legacy-l1-1-1 0x60380000 )
|
|
add_apiset(api-ms-win-core-kernel32-private-l1-1-1 0x603a0000 )
|
|
add_apiset(api-ms-win-core-largeinteger-l1-1-0 0x603b0000 )
|
|
add_apiset(api-ms-win-core-libraryloader-l1-1-0 0x603c0000 user32)
|
|
add_apiset(api-ms-win-core-libraryloader-l1-1-1 0x603d0000 user32)
|
|
add_apiset(api-ms-win-core-libraryloader-l1-2-0 0x603e0000 user32)
|
|
add_apiset(api-ms-win-core-libraryloader-l1-2-1 0x603f0000 )
|
|
add_apiset(api-ms-win-core-libraryloader-l1-2-2 0x60400000 )
|
|
add_apiset(api-ms-win-core-localization-l1-1-0 0x60410000 )
|
|
add_apiset(api-ms-win-core-localization-l1-2-0 0x60430000 )
|
|
add_apiset(api-ms-win-core-localization-l1-2-1 0x60450000 )
|
|
add_apiset(api-ms-win-core-localization-l2-1-0 0x60470000 )
|
|
add_apiset(api-ms-win-core-localization-obsolete-l1-1-0 0x60480000 )
|
|
add_apiset(api-ms-win-core-localization-obsolete-l1-2-0 0x60490000 )
|
|
add_apiset(api-ms-win-core-localization-obsolete-l1-3-0 0x604a0000 )
|
|
add_apiset(api-ms-win-core-localization-private-l1-1-0 0x604b0000 )
|
|
add_apiset(api-ms-win-core-localregistry-l1-1-0 0x604c0000 advapi32 advapi32_vista)
|
|
add_apiset(api-ms-win-core-memory-l1-1-0 0x604d0000 )
|
|
add_apiset(api-ms-win-core-memory-l1-1-1 0x604e0000 )
|
|
add_apiset(api-ms-win-core-memory-l1-1-2 0x604f0000 )
|
|
add_apiset(api-ms-win-core-misc-l1-1-0 0x60500000 )
|
|
add_apiset(api-ms-win-core-namedpipe-l1-1-0 0x60510000 advapi32)
|
|
add_apiset(api-ms-win-core-namedpipe-l1-2-0 0x60520000 advapi32)
|
|
add_apiset(api-ms-win-core-namespace-l1-1-0 0x60530000 )
|
|
add_apiset(api-ms-win-core-normalization-l1-1-0 0x60540000 )
|
|
add_apiset(api-ms-win-core-path-l1-1-0 0x60550000 )
|
|
add_apiset(api-ms-win-core-privateprofile-l1-1-1 0x60570000 )
|
|
add_apiset(api-ms-win-core-processenvironment-l1-1-0 0x60580000 )
|
|
add_apiset(api-ms-win-core-processenvironment-l1-2-0 0x60590000 )
|
|
add_apiset(api-ms-win-core-processthreads-l1-1-0 0x605a0000 advapi32)
|
|
add_apiset(api-ms-win-core-processthreads-l1-1-1 0x605b0000 advapi32)
|
|
add_apiset(api-ms-win-core-processthreads-l1-1-2 0x605d0000 advapi32)
|
|
add_apiset(api-ms-win-core-processtopology-obsolete-l1-1-0 0x605f0000 )
|
|
add_apiset(api-ms-win-core-profile-l1-1-0 0x60600000 )
|
|
add_apiset(api-ms-win-core-psapi-ansi-l1-1-0 0x60610000 )
|
|
add_apiset(api-ms-win-core-psapi-l1-1-0 0x60620000 )
|
|
add_apiset(api-ms-win-core-psapi-obsolete-l1-1-0 0x60630000 )
|
|
add_apiset(api-ms-win-core-quirks-l1-1-0 0x60640000 )
|
|
add_apiset(api-ms-win-core-realtime-l1-1-0 0x60650000 )
|
|
add_apiset(api-ms-win-core-registry-l1-1-0 0x60660000 advapi32 advapi32_vista)
|
|
add_apiset(api-ms-win-core-registry-l2-1-0 0x60670000 advapi32 advapi32_vista)
|
|
add_apiset(api-ms-win-core-registryuserspecific-l1-1-0 0x60680000 shlwapi)
|
|
add_apiset(api-ms-win-core-rtlsupport-l1-1-0 0x60690000 )
|
|
add_apiset(api-ms-win-core-rtlsupport-l1-2-0 0x606a0000 )
|
|
add_apiset(api-ms-win-core-shlwapi-legacy-l1-1-0 0x606b0000 shlwapi)
|
|
add_apiset(api-ms-win-core-shlwapi-obsolete-l1-1-0 0x606c0000 shlwapi)
|
|
add_apiset(api-ms-win-core-shlwapi-obsolete-l1-2-0 0x606d0000 shlwapi)
|
|
add_apiset(api-ms-win-core-shutdown-l1-1-0 0x606e0000 advapi32)
|
|
add_apiset(api-ms-win-core-sidebyside-l1-1-0 0x606f0000 )
|
|
add_apiset(api-ms-win-core-string-l1-1-0 0x60700000 )
|
|
add_apiset(api-ms-win-core-string-l2-1-0 0x60710000 user32)
|
|
add_apiset(api-ms-win-core-string-obsolete-l1-1-0 0x60720000 )
|
|
add_apiset(api-ms-win-core-stringansi-l1-1-0 0x60730000 user32)
|
|
add_apiset(api-ms-win-core-synch-ansi-l1-1-0 0x60740000 )
|
|
add_apiset(api-ms-win-core-synch-l1-1-0 0x60750000 kernel32_vista)
|
|
add_apiset(api-ms-win-core-synch-l1-2-0 0x60760000 kernel32_vista)
|
|
add_apiset(api-ms-win-core-synch-l1-2-1 0x60780000 kernel32_vista)
|
|
add_apiset(api-ms-win-core-sysinfo-l1-1-0 0x607a0000 kernel32_vista)
|
|
add_apiset(api-ms-win-core-sysinfo-l1-2-0 0x607b0000 kernel32_vista)
|
|
add_apiset(api-ms-win-core-sysinfo-l1-2-1 0x607c0000 kernel32_vista)
|
|
add_apiset(api-ms-win-core-threadpool-l1-1-0 0x607d0000 )
|
|
add_apiset(api-ms-win-core-threadpool-l1-2-0 0x60800000 )
|
|
add_apiset(api-ms-win-core-threadpool-legacy-l1-1-0 0x60830000 )
|
|
add_apiset(api-ms-win-core-threadpool-private-l1-1-0 0x60840000 )
|
|
add_apiset(api-ms-win-core-timezone-l1-1-0 0x60850000 )
|
|
add_apiset(api-ms-win-core-toolhelp-l1-1-0 0x60860000 )
|
|
add_apiset(api-ms-win-core-url-l1-1-0 0x60870000 shlwapi)
|
|
add_apiset(api-ms-win-core-util-l1-1-0 0x60880000 )
|
|
add_apiset(api-ms-win-core-version-l1-1-0 0x60890000 version)
|
|
add_apiset(api-ms-win-core-version-l1-1-1 0x608a0000 version)
|
|
add_apiset(api-ms-win-core-version-private-l1-1-0 0x608b0000 )
|
|
add_apiset(api-ms-win-core-versionansi-l1-1-0 0x608c0000 version)
|
|
add_apiset(api-ms-win-core-windowserrorreporting-l1-1-0 0x608d0000 )
|
|
add_apiset(api-ms-win-core-winrt-error-l1-1-0 0x608e0000 )
|
|
add_apiset(api-ms-win-core-winrt-error-l1-1-1 0x608f0000 )
|
|
add_apiset(api-ms-win-core-winrt-errorprivate-l1-1-1 0x60910000 )
|
|
add_apiset(api-ms-win-core-winrt-l1-1-0 0x60920000 )
|
|
add_apiset(api-ms-win-core-winrt-registration-l1-1-0 0x60930000 )
|
|
add_apiset(api-ms-win-core-winrt-roparameterizediid-l1-1-0 0x60940000 )
|
|
add_apiset(api-ms-win-core-winrt-string-l1-1-0 0x60950000 )
|
|
add_apiset(api-ms-win-core-wow64-l1-1-0 0x60970000 )
|
|
add_apiset(api-ms-win-core-wow64-l1-1-1 0x60980000 )
|
|
add_apiset(api-ms-win-core-xstate-l1-1-0 0x60990000 )
|
|
add_apiset(api-ms-win-core-xstate-l2-1-0 0x609a0000 )
|
|
add_apiset(api-ms-win-crt-conio-l1-1-0 0x609b0000 msvcrt)
|
|
add_apiset(api-ms-win-crt-convert-l1-1-0 0x609d0000 msvcrt)
|
|
add_apiset(api-ms-win-crt-environment-l1-1-0 0x60a30000 msvcrt)
|
|
add_apiset(api-ms-win-crt-filesystem-l1-1-0 0x60a40000 msvcrt)
|
|
add_apiset(api-ms-win-crt-heap-l1-1-0 0x60a70000 msvcrt)
|
|
add_apiset(api-ms-win-crt-locale-l1-1-0 0x60a80000 msvcrt)
|
|
add_apiset(api-ms-win-crt-math-l1-1-0 0x60a90000 msvcrt)
|
|
add_apiset(api-ms-win-crt-multibyte-l1-1-0 0x60ba0000 msvcrt)
|
|
add_apiset(api-ms-win-crt-private-l1-1-0 0x60c20000 msvcrt)
|
|
add_apiset(api-ms-win-crt-process-l1-1-0 0x61090000 msvcrt)
|
|
add_apiset(api-ms-win-crt-runtime-l1-1-0 0x610a0000 msvcrt)
|
|
add_apiset(api-ms-win-crt-stdio-l1-1-0 0x610e0000 msvcrt)
|
|
add_apiset(api-ms-win-crt-string-l1-1-0 0x61130000 msvcrt)
|
|
add_apiset(api-ms-win-crt-time-l1-1-0 0x61190000 msvcrt)
|
|
add_apiset(api-ms-win-crt-utility-l1-1-0 0x611c0000 msvcrt)
|
|
add_apiset(api-ms-win-devices-config-l1-1-1 0x611d0000 setupapi)
|
|
add_apiset(api-ms-win-devices-query-l1-1-1 0x611e0000 )
|
|
add_apiset(api-ms-win-downlevel-advapi32-l1-1-0 0x611f0000 advapi32 advapi32_vista)
|
|
add_apiset(api-ms-win-downlevel-advapi32-l2-1-0 0x61210000 advapi32)
|
|
add_apiset(api-ms-win-downlevel-normaliz-l1-1-0 0x61220000 )
|
|
add_apiset(api-ms-win-downlevel-ole32-l1-1-0 0x61230000 ole32)
|
|
add_apiset(api-ms-win-downlevel-shell32-l1-1-0 0x61240000 shell32)
|
|
add_apiset(api-ms-win-downlevel-shlwapi-l1-1-0 0x61250000 shlwapi)
|
|
add_apiset(api-ms-win-downlevel-shlwapi-l2-1-0 0x61260000 shlwapi)
|
|
add_apiset(api-ms-win-downlevel-user32-l1-1-0 0x61270000 user32)
|
|
add_apiset(api-ms-win-downlevel-version-l1-1-0 0x61280000 version)
|
|
add_apiset(api-ms-win-dx-d3dkmt-l1-1-0 0x61290000 gdi32)
|
|
add_apiset(api-ms-win-eventing-classicprovider-l1-1-0 0x612f0000 advapi32)
|
|
add_apiset(api-ms-win-eventing-consumer-l1-1-0 0x61300000 advapi32)
|
|
add_apiset(api-ms-win-eventing-controller-l1-1-0 0x61310000 advapi32)
|
|
add_apiset(api-ms-win-eventing-legacy-l1-1-0 0x61320000 advapi32)
|
|
add_apiset(api-ms-win-eventing-provider-l1-1-0 0x61330000 )
|
|
add_apiset(api-ms-win-eventlog-legacy-l1-1-0 0x61340000 advapi32)
|
|
add_apiset(api-ms-win-gdi-dpiinfo-l1-1-0 0x61350000 )
|
|
add_apiset(api-ms-win-mm-joystick-l1-1-0 0x61360000 winmm)
|
|
add_apiset(api-ms-win-mm-misc-l1-1-1 0x61370000 winmm)
|
|
add_apiset(api-ms-win-mm-mme-l1-1-0 0x61380000 winmm)
|
|
add_apiset(api-ms-win-mm-time-l1-1-0 0x61390000 winmm)
|
|
add_apiset(api-ms-win-ntuser-dc-access-l1-1-0 0x613a0000 user32)
|
|
add_apiset(api-ms-win-ntuser-rectangle-l1-1-0 0x613b0000 user32)
|
|
add_apiset(api-ms-win-perf-legacy-l1-1-0 0x613c0000 )
|
|
add_apiset(api-ms-win-power-base-l1-1-0 0x613d0000 powrprof)
|
|
add_apiset(api-ms-win-power-setting-l1-1-0 0x613e0000 powrprof)
|
|
add_apiset(api-ms-win-rtcore-ntuser-draw-l1-1-0 0x613f0000 user32)
|
|
add_apiset(api-ms-win-rtcore-ntuser-private-l1-1-0 0x61400000 user32)
|
|
add_apiset(api-ms-win-rtcore-ntuser-private-l1-1-4 0x61410000 )
|
|
add_apiset(api-ms-win-rtcore-ntuser-window-l1-1-0 0x61420000 user32)
|
|
add_apiset(api-ms-win-rtcore-ntuser-winevent-l1-1-0 0x61430000 user32)
|
|
add_apiset(api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 0x61440000 )
|
|
add_apiset(api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 0x61460000 )
|
|
add_apiset(api-ms-win-security-activedirectoryclient-l1-1-0 0x61470000 ntdsapi)
|
|
add_apiset(api-ms-win-security-audit-l1-1-1 0x61480000 )
|
|
add_apiset(api-ms-win-security-base-l1-1-0 0x61490000 advapi32)
|
|
add_apiset(api-ms-win-security-base-l1-2-0 0x614a0000 advapi32)
|
|
add_apiset(api-ms-win-security-base-private-l1-1-1 0x614b0000 advapi32)
|
|
add_apiset(api-ms-win-security-credentials-l1-1-0 0x614c0000 advapi32)
|
|
add_apiset(api-ms-win-security-grouppolicy-l1-1-0 0x614d0000 userenv)
|
|
add_apiset(api-ms-win-security-lsalookup-l1-1-0 0x614f0000 )
|
|
add_apiset(api-ms-win-security-lsalookup-l1-1-1 0x61500000 )
|
|
add_apiset(api-ms-win-security-lsalookup-l2-1-0 0x61510000 advapi32)
|
|
add_apiset(api-ms-win-security-lsalookup-l2-1-1 0x61520000 advapi32)
|
|
add_apiset(api-ms-win-security-lsapolicy-l1-1-0 0x61530000 advapi32)
|
|
add_apiset(api-ms-win-security-provider-l1-1-0 0x61540000 advapi32)
|
|
add_apiset(api-ms-win-security-sddl-l1-1-0 0x61550000 advapi32)
|
|
add_apiset(api-ms-win-security-systemfunctions-l1-1-0 0x61560000 advapi32)
|
|
add_apiset(api-ms-win-service-core-l1-1-0 0x61570000 advapi32)
|
|
add_apiset(api-ms-win-service-core-l1-1-1 0x61580000 advapi32)
|
|
add_apiset(api-ms-win-service-management-l1-1-0 0x61590000 advapi32)
|
|
add_apiset(api-ms-win-service-management-l2-1-0 0x615a0000 advapi32)
|
|
add_apiset(api-ms-win-service-private-l1-1-1 0x615b0000 advapi32)
|
|
add_apiset(api-ms-win-service-winsvc-l1-1-0 0x615c0000 advapi32)
|
|
add_apiset(api-ms-win-service-winsvc-l1-2-0 0x615d0000 advapi32)
|
|
add_apiset(api-ms-win-shcore-obsolete-l1-1-0 0x615e0000 shlwapi shell32)
|
|
add_apiset(api-ms-win-shcore-scaling-l1-1-1 0x615f0000 )
|
|
add_apiset(api-ms-win-shcore-stream-l1-1-0 0x61600000 shlwapi)
|
|
add_apiset(api-ms-win-shcore-thread-l1-1-0 0x61610000 shlwapi)
|
|
add_apiset(api-ms-win-shell-shellcom-l1-1-0 0x61620000 shell32)
|
|
add_apiset(api-ms-win-shell-shellfolders-l1-1-0 0x61630000 shell32)
|