WheaGetErrorSource

WHEA_ERROR_SOURCE_DESCRIPTOR *__stdcall WheaGetErrorSource(UINT64 ErrorSourceId){
  INT64 *ErrorSource; 
  ErrorSource = WheapGetErrorSource((INT64)&WheapErrorSourceTable, (unsigned int)ErrorSourceId);
  return(WHEA_ERROR_SOURCE_DESCRIPTOR *)((unsigned __int64)(ErrorSource + 12) & -(__int64)(ErrorSource != 0i64));
}

Referenced by:

WheaRemoveErrorSourceDeviceDriver