#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
);
View code on GitHub// ntifs.h
NTSYSAPI PVOID RtlFreeSid(
PSID Sid
);
View the official Windows Driver Kit DDI referenceThis function is documented in Windows Driver Kit.
The RtlFreeSid routine is reserved for system use.
SidReserved.
Reserved.