CmpSetRespectIoPriorityThread

UINT8 __stdcall CmpSetRespectIoPriorityThread(_ETHREAD *Thread, UINT8 RespectIoPriority){
  UINT8 result; 
  result = (*((_DWORD *)Thread + 325) & 0x80) != 0;
  *((_DWORD *)Thread + 325) ^= ((unsigned __int8)*((_DWORD *)Thread + 325) ^ (unsigned __int8)(RespectIoPriority << 7)) & 0x80;
  return result;
}

Referenced by:

CmpDoFileWrite