Rework apisets to use a table

This removes all fake apiset forwarders,
and handles apisets inside ntdll.
This is not 100% compatible with how windows does it, but it should be good enough for us.
This commit is contained in:
Mark Jansen 2024-01-04 23:02:22 +01:00
parent 116c0cd9a5
commit 24a56f89ab
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
246 changed files with 1910 additions and 9091 deletions

View file

@ -0,0 +1,13 @@
add_library(apisets
apisets.c
apisets.h
apisetsp.h
# Generated file:
apisets.table.c
)
target_include_directories(apisets INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
target_compile_definitions(apisets PRIVATE _NTSYSTEM_)
add_dependencies(apisets psdk)