RtlGetExtendedContextLength
NTSTATUS __stdcall RtlGetExtendedContextLength(UINT64 ContextFlags, UINT64 *ContextLength){
unsigned __int64 v3;
unsigned int v4;
NTSTATUS result;
UINT64 v6;
v3 = 0i64;
LODWORD(v6) = 0;
v4 = ContextFlags;
result = RtlpValidateContextFlags(ContextFlags, &v6);
if( result >= 0 )
{
if( (v6 & 2) != 0 )
v3 = KUSER_SHARED_DATA.XState.EnabledFeatures | KUSER_SHARED_DATA.XState.EnabledUserVisibleSupervisorFeatures;
return RtlGetExtendedContextLength2(v4, ContextLength, v3);
}
return result;
}Referenced by:
KiRaiseException
KiUnwindUserSspForApcContextCopyBypass
PspAllocateThread
PspDisassociateUmsThreadFromPrimary
PspGetContextThreadInternal
PspInitializeThunkContext
PspSetContextState
PspSetContextThreadInternal
PspWow64GetContextThread
PspWow64SetContextThread