PoNotifyMediaBuffering

VOID __stdcall PoNotifyMediaBuffering(UINT8 Engaged){
  char v2; 
  int v3; 
  int v4; 
  int v5; 

  v2 = 0;
  KxAcquireSpinLock((UINT64 *)&stru_140C23628 + 443);
  if( !*(&stru_140C23628 + 3552) )
  {
    v2 = 1;
    *(&stru_140C23628 + 3552) = 1;
  }
  *(&stru_140C23628 + 3553) = Engaged;
  KxReleaseSpinLock((UINT64 *)&stru_140C23628 + 443);
  if( v2 )
  {
    KeQueryPriorityThread((_ETHREAD *)KeGetCurrentThread());
    v4 = v3 + 1;
    if( v3 >= 31 )
      v4 = v3;
    if( !Engaged )
    {
      v5 = 16;
      if( v4 > 16 )
        v5 = v4;
      v4 = v5;
    }
    ExQueueWorkItem((PWORK_QUEUE_ITEM)((char *)&stru_140C23628 + 3560), (_WORK_QUEUE_TYPE)(v4 + 32));
  }
}

Referenced by:

No references.