# OS_IsBootFromSystemMenu

## Syntax

  `#include <nitro/os.h>`
  `BOOL OS_IsBootFromSystemMenu( void );`

## Arguments

None.

## Return Values

Returns `TRUE` if the system's current state indicates that the active application was started directly from the System Menu.
Returns `FALSE` if the current state is after a restart by `OS_RebootSystem`.

## Description

Checks whether the currently running program was started directly from the System Menu.
If the current program is a TAD file started from the IS-TWL-DEBUGGER software, or if it was started from `TwlNmenu.srl`, this function indicates that the program was started directly from the System Menu.

## See Also

`OS_RebootSystem`

## Revision History

2009/05/15 Initial version.

CONFIDENTIAL