RtlAddGrowableFunctionTable - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#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
    );

#endif
#endif
#endif

View code on GitHub
// winnt.h

NTSYSAPI DWORD RtlAddGrowableFunctionTable(
  [out] PVOID             *DynamicTable,
        PRUNTIME_FUNCTION FunctionTable,
  [in]  DWORD             EntryCount,
  [in]  DWORD             MaximumEntryCount,
  [in]  ULONG_PTR         RangeBase,
  [in]  ULONG_PTR         RangeEnd
);
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (nf-winnt-rtladdgrowablefunctiontable)

RtlAddGrowableFunctionTable function

Description

Informs the system of a dynamic function table representing a region of memory containing code.

Parameters

DynamicTable [out]

A pointer to a variable that receives an opaque reference to the newly-added table on success.

FunctionTable

A 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.

Return value

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.

Remarks

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.