ExpTimeRefreshWork

VOID __stdcall ExpTimeRefreshWork(VOID *Context){
  _KSPIN_LOCK *v1; 
  struct _EXP_LICENSE_STATE *ExpLicenseState; 
  _EXT_SET_PARAMETERS_V0 Parameters; 

  do
  {
    ExAcquireTimeRefreshLock(1u);
    if( KeTimeSynchronization )
      ExUpdateSystemTimeFromCmos(0, 0i64);
    ExReleaseTimeRefreshLock();
    ExpLicenseState = PsGetCurrentServerSiloGlobals(v1)->ExpLicenseState;
    if( qword_140D2C4F0 )
      qword_140D2C4F0(ExpLicenseState);
  }
  while( _InterlockedExchangeAdd((_DWORD *)&ExBootDevicesRemovedEvent + 162, 0xFFFFFFFF) != 1 );
  *(_QWORD *)&Parameters.Version = 0i64;
  Parameters.NoWakeTolerance = -1i64;
  KeSetTimer2((INT64)&ExBootDevicesRemovedEvent + 512, *(&ExBootDevicesRemovedEvent + 97), 0i64, (INT64)&Parameters);
}

Referenced by:

No references.