ViAllocateContextTable

_VF_CONTEXT_TABLE *__stdcall ViAllocateContextTable(_VF_OBJECT_TYPE ObjectType){
  __int16 v1; 
  _VF_CONTEXT_TABLE *result; 

  v1 = ObjectType;
  result = (_VF_CONTEXT_TABLE *)ExAllocateFromNPagedLookasideList(&ViObjectContextTableLookaside);
  if( result )
  {
    result[1] = 0;
    *((_WORD *)result + 1) = 6;
    *(_WORD *)result = v1;
    *(_OWORD *)(result + 2) = 0i64;
  }
  return result;
}

Referenced by:

VfInsertContext