ViIoCallbackSnapState

INT64 __stdcall ViIoCallbackSnapState(){
  INT64 result; 
  unsigned __int8 CurrentIrql; 
  LODWORD(result) = ExAllocateFromNPagedLookasideList((NPAGED_LOOKASIDE_LIST *)ViIoCallbackStateLookaside);
  if( result )
  {
    CurrentIrql = KeGetCurrentIrql();
    *(_BYTE *)result = CurrentIrql;
    *(_DWORD *)(result + 4) = *((_DWORD *)KeGetCurrentThread() + 121);
  }
  return result;
}

Referenced by:

IovpLocalCompletionRoutine
VfFastIoSnapState