#ifndef _NTRTL_H _Must_inspect_result_ NTSYSAPI BOOLEAN NTAPI RtlEqualSid( _In_ PSID Sid1, _In_ PSID Sid2 ); #endif View code on GitHub
This function is documented in Windows Driver Kit.