RtlGetCurrentThreadPrimaryGroup - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H
#ifdef PHNT_INLINE_TYPEDEFS
#if (PHNT_VERSION >= PHNT_WIN11)

// rev
FORCEINLINE
USHORT
NTAPI
RtlGetCurrentThreadPrimaryGroup(
    VOID
    )
{
    return NtCurrentTeb()->PrimaryGroupAffinity.Group;
}

#endif
#endif
#endif

View code on GitHub
#ifndef _NTRTL_H
#ifdef PHNT_INLINE_TYPEDEFS
// ...
#else
#if (PHNT_VERSION >= PHNT_REDSTONE)

// rev
NTSYSAPI
USHORT
NTAPI
RtlGetCurrentThreadPrimaryGroup(
    VOID
    );

#endif
#endif
#endif

View code on GitHub

No description available.