PnpDiagnosticCompletionRoutine

INT64 __stdcall PnpDiagnosticCompletionRoutine(_DEVICE_OBJECT *DeviceObject, _IRP *Irp, PVOID Context){
  int v3; 
  DEVICE_OBJECT *DeviceThatFailedIrp; 
  v3 = *((_DWORD *)Irp + 12);
  *((_DWORD *)Context + 8) = v3;
  if( v3 < 0 )
  {
    DeviceThatFailedIrp = IoFindDeviceThatFailedIrp(Irp);
    if( DeviceThatFailedIrp )
      *(_QWORD *)Context = *((_QWORD *)DeviceThatFailedIrp + 1);
  }
  IoFreeIrp(Irp);
  KeSetEvent((PRKEVENT)((char *)Context + 8), 0);
  return 3221225494i64;
}

Referenced by:

No references.