RtlFreeSid - NtDoc

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

/**
 * The RtlFreeSid routine frees a SID previously allocated with RtlAllocateAndInitializeSid.
 *
 * \param Sid The SID to free.
 * \return NULL.
 * \remarks Frees a SID allocated by the RTL SID allocation routines using the process heap. Returns NULL on successful release and the original pointer on failure; it does not clear any caller variable that holds the pointer.
 */
NTSYSAPI
PVOID
NTAPI
RtlFreeSid(
    _In_ _Post_invalid_ PSID Sid
    );

#endif

View code on GitHub
// ntifs.h

NTSYSAPI PVOID RtlFreeSid(
  PSID Sid
);
View the official Windows Driver Kit DDI reference

NtDoc

This function is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (nf-ntifs-rtlfreesid)

RtlFreeSid function

Description

The RtlFreeSid routine is reserved for system use.

Parameters

Sid

Reserved.

Return value

Reserved.