mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-22 21:17:14 +00:00
Add X_RUNTIME_FUNCTION
This commit is contained in:
@@ -162,6 +162,24 @@ struct _XLIST_ENTRY;
|
||||
typedef _XLIST_ENTRY XLIST_ENTRY;
|
||||
typedef xpointer<XLIST_ENTRY> PXLIST_ENTRY;
|
||||
|
||||
typedef struct _X_RUNTIME_FUNCTION
|
||||
{
|
||||
DWORD BeginAddress;
|
||||
|
||||
union
|
||||
{
|
||||
DWORD Data;
|
||||
struct
|
||||
{
|
||||
DWORD FunctionType : 2;
|
||||
DWORD FunctionLength : 22;
|
||||
DWORD PrologLength : 8;
|
||||
};
|
||||
};
|
||||
} X_RUNTIME_FUNCTION;
|
||||
|
||||
static_assert(sizeof(X_RUNTIME_FUNCTION) == 8);
|
||||
|
||||
typedef struct _XLIST_ENTRY
|
||||
{
|
||||
XDWORD Flink;
|
||||
@@ -285,4 +303,4 @@ typedef struct _XKSEMAPHORE
|
||||
{
|
||||
XDISPATCHER_HEADER Header;
|
||||
XDWORD Limit;
|
||||
} XKSEMAPHORE;
|
||||
} XKSEMAPHORE;
|
||||
|
Reference in New Issue
Block a user