WdipSemCleanStart

NTSTATUS __stdcall WdipSemCleanStart(){
  int LoggerIds; 

  LoggerIds = WdipSemGetLoggerIds();
  if( LoggerIds >= 0 )
  {
    LoggerIds = WdipSemEnableSemProvider();
    if( LoggerIds >= 0 )
    {
      LoggerIds = WdipSemLoadConfigInfo();
      if( LoggerIds >= 0 )
      {
        LoggerIds = WdipSemLoadGroupPolicy();
        if( LoggerIds >= 0 )
        {
          LoggerIds = WdipSemLoadScenarioTable();
          if( LoggerIds >= 0 )
            LoggerIds = WdipSemStartTimeoutCheck();
        }
      }
    }
  }
  WdipSemCleanupGroupPolicy();
  if( LoggerIds < 0 )
    WdipSemShutdown();
  else
    *(&ExBootDevicesRemovedEvent + 4464) = 1;
  return LoggerIds;
}

Referenced by:

WdipSemInitialize
WdipSemUpdate