#ifndef _NTRTL_H
#if defined(_M_AMD64) && defined(_M_ARM64EC)
#if (PHNT_VERSION >= PHNT_WINDOWS_8)
NTSYSAPI
ULONG
NTAPI
RtlAddGrowableFunctionTable(
_Out_ PVOID* DynamicTable,
_In_reads_(MaximumEntryCount) PRUNTIME_FUNCTION FunctionTable,
_In_ ULONG EntryCount,
_In_ ULONG MaximumEntryCount,
_In_ ULONG_PTR RangeBase,
_In_ ULONG_PTR RangeEnd
);
View code on GitHubNo description available.
Informs the system of a dynamic function table representing a region of memory containing code.
DynamicTable [out]A pointer to a variable that receives an opaque reference to the newly-added table on success.
FunctionTableA pointer to a partially-filled array of RUNTIME_FUNCTION entries which provides unwind information for the region of code. The entries in this array must remain sorted in ascending order of the BeginAddress members.
EntryCount [in]The number of entries currently populated in the function table. This value may be zero.
MaximumEntryCount [in]The capacity of the function table.
RangeBase [in]The beginning of the memory range described by the function table.
RangeEnd [in]The end of the memory range described by the function table.
This function returns zero on success. (More detail).
See http://msdn.microsoft.com/en-us/library/cc704588(PROT.10).aspx for a list of NTSTATUS values.
The function table can grow as code is added to the memory region. The entries in the table must be sorted. This table is used for dispatching exceptions through runtime-generated code and for collecting stack backtraces.