RtlInsertElementGenericTableFull - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

/**
 * The RtlInsertElementGenericTableFull routine inserts an element into a generic table.
 *
 * \param Table A pointer to the generic table.
 * \param Buffer A pointer to the buffer containing the element to be inserted.
 * \param BufferSize The size of the buffer.
 * \param NewElement A pointer to a boolean that receives `TRUE` if the element was newly inserted, or `FALSE` if the element already existed.
 * \param NodeOrParent A pointer to the node or parent for the insertion.
 * \param SearchResult The result of the search for the insertion point.
 * \return A pointer to the newly inserted or existing element.
 * \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/nf-ntddk-rtlinsertelementgenerictablefull
 */
NTSYSAPI
PVOID
NTAPI
RtlInsertElementGenericTableFull(
    _In_ PRTL_GENERIC_TABLE Table,
    _In_reads_bytes_(BufferSize) PVOID Buffer,
    _In_ CLONG BufferSize,
    _Out_opt_ PBOOLEAN NewElement,
    _In_ PVOID NodeOrParent,
    _In_ TABLE_SEARCH_RESULT SearchResult
    );

#endif

View code on GitHub

NtDoc

No description available.