Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

BootMode class function

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJComputerInfo

Applies to: ~>5.0

class function BootMode: TPJBootMode;

type TPJBootMode = (bmUnknown, bmNormal, bmSafeMode, bmSafeModeNetwork);


Determines the operating system mode into which the the computer was booted.

Returns a value from the TPJBootMode enumeration that describes the boot mode. Values of TPJBootMode are:

Value Meaning
bmUnknown Unknown boot mode.
bmNormal Normal boot.
bmSafeMode Booted in safe mode with no networking.
bmSafeModeNetwork Booted in safe mode with networking.