PsQueryCurrentApiSetSchema

VOID *__stdcall PsQueryCurrentApiSetSchema(){
  _KSPIN_LOCK *v0; 
  VOID **ApiSetSchema; 
  UINT64 *ApiSetSchemaSize; 

  ApiSetSchema = 0i64;
  if( PsIsCurrentThreadInServerSilo() )
    return PsGetCurrentServerSiloGlobals(v0)->ApiSetSchema;
  MmQueryApiSetSchema(&ApiSetSchema, &ApiSetSchemaSize);
  return *ApiSetSchema;
}

Referenced by:

ExIsMultiSessionSku
MiResolveImageReferences