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,25 @@
#ifndef APISETSP_H
#define APISETSP_H
#ifdef __cplusplus
extern "C"
{
#endif
#include "apisets.h"
typedef struct _ROS_APISET
{
const UNICODE_STRING Name;
const UNICODE_STRING Target;
DWORD dwOsVersions;
} ROS_APISET;
extern const ROS_APISET g_Apisets[];
extern const LONG g_ApisetsCount;
#ifdef __cplusplus
}
#endif
#endif // APISETSP_H