[x64] Simplify growable function pointer definitions.
This commit is contained in:
parent
015e91140a
commit
c808b59834
|
@ -21,16 +21,10 @@
|
||||||
#include "xenia/cpu/function.h"
|
#include "xenia/cpu/function.h"
|
||||||
|
|
||||||
// Function pointer definitions
|
// Function pointer definitions
|
||||||
typedef DWORD(NTAPI* FnRtlAddGrowableFunctionTable)(
|
using FnRtlAddGrowableFunctionTable = decltype(&RtlAddGrowableFunctionTable);
|
||||||
_Out_ PVOID* DynamicTable,
|
using FnRtlGrowFunctionTable = decltype(&RtlGrowFunctionTable);
|
||||||
_In_reads_(MaximumEntryCount) PRUNTIME_FUNCTION FunctionTable,
|
using FnRtlDeleteGrowableFunctionTable =
|
||||||
_In_ DWORD EntryCount, _In_ DWORD MaximumEntryCount,
|
decltype(&RtlDeleteGrowableFunctionTable);
|
||||||
_In_ ULONG_PTR RangeBase, _In_ ULONG_PTR RangeEnd);
|
|
||||||
|
|
||||||
typedef VOID(NTAPI* FnRtlGrowFunctionTable)(_Inout_ PVOID DynamicTable,
|
|
||||||
_In_ DWORD NewEntryCount);
|
|
||||||
|
|
||||||
typedef VOID(NTAPI* FnRtlDeleteGrowableFunctionTable)(_In_ PVOID DynamicTable);
|
|
||||||
|
|
||||||
namespace xe {
|
namespace xe {
|
||||||
namespace cpu {
|
namespace cpu {
|
||||||
|
|
Loading…
Reference in New Issue