PnpNotifyEarlyLaunchStatusUpdate

NTSTATUS __fastcall PnpNotifyEarlyLaunchStatusUpdate(UINT64 ElamCurrentStatus){
  unsigned int v1; 
  NTSTATUS result; 
  INT64 v3[5]; 
  unsigned int v4; 
  INT64 v5; 
  LODWORD(v5) = 0;
  v1 = ElamCurrentStatus;
  if( PnpBootDriverCallbackObject )
  {
    PnpDiagnosticTraceElamStatus(
      (EVENT_DESCRIPTOR *)&KMPnPEvt_EarlyLaunch_StatusNotification_Start,
      (unsigned int)ElamCurrentStatus);
    v3[1] = 0i64;
    v3[2] = 0i64;
    v3[0] = (INT64)PnpEarlyLaunchStatusNotificationPreProcess;
    v4 = v1;
    v3[3] = (INT64)&v4;
    ExNotifyWithProcessing((INT64)PnpBootDriverCallbackObject, 0i64, (INT64)&v5, (INT64)v3);
    return PnpDiagnosticTraceElamStatus((EVENT_DESCRIPTOR *)&KMPnPEvt_EarlyLaunch_StatusNotification_Stop, v1);
  }
  return result;
}

Referenced by:

IopInitializeBootDrivers