Mega Code Archive

 
Categories / Delphi / System
 

Determinate in whitch way windows is started

Title: determinate in whitch way windows is started? Label1.Caption := IntToStr(GetSysTemMetrics(SM_CLEANBOOT)); { Will return: 0 Normal boot 1 Fail-safe boot 2 Fail-safe with network boot } { Zurückgegeben wird: 0 Normaler Start 1 Abgesicherter Modus 2 Abgesicherter Modus mit Netzwerk }