#ifndef _NTRTL_H
FORCEINLINE
LUID
NTAPI_INLINE
RtlConvertLongToLuid(
_In_ LONG Long
)
{
LUID tempLuid;
tempLuid.LowPart = Long;
tempLuid.HighPart = 0;
return tempLuid;
}
View code on GitHub
This function is documented in Windows Driver Kit.