RtlCreateBoundaryDescriptor - NtDoc

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

/**
 * The RtlCreateBoundaryDescriptor routine creates a boundary descriptor used to define an isolation boundary for a private object namespace.
 *
 * \param Name A pointer to the Unicode string that names the boundary.
 * \param Flags Flags that control the creation of the boundary descriptor.
 * \return POBJECT_BOUNDARY_DESCRIPTOR A pointer to the created boundary descriptor, or `NULL` on failure.
 * \remarks Creates/frees a process-heap boundary-description buffer, not a namespace handle. The creator requires a nonempty even-byte-length name and permits only flag bit 0x1. Creation alone does not create a private namespace or change token membership.
 */
_Ret_maybenull_
_Success_(return != NULL)
NTSYSAPI
POBJECT_BOUNDARY_DESCRIPTOR
NTAPI
RtlCreateBoundaryDescriptor(
    _In_ PCUNICODE_STRING Name,
    _In_ ULONG Flags
    );

#endif

View code on GitHub

NtDoc

No description available.