Set_Boot_Manager_Options

This function sets the Boot Managers options. The settable options are:


#include <lvm_intr.h>

void _System Set_Boot_Manager_Options(

    ADDRESS      Handle,           /* (I) Handle of the default partition or volume */
    BOOLEAN      Timer_Active,     /* (I) TRUE if the timeout timer is active */
    CARDINAL32   Time_Out_Value,   /* (I) Timeout interval in seconds */
    BOOLEAN      Advanced_Mode,    /* (I) TRUE to display the menu in advanced mode */
    CARDINAL32 * Error_Code        /* (O) Address where the error code will be stored */

);

Parameters

Handle
The handle of the default partition or volume to boot. The corresponding entry on the Boot Manager menu will be highlighted by default. In addition, if the time-out timer is active, this partition or volume will be booted automatically when the time-out value is reached.

Specifying a NULL handle will cause Boot Manager to default to whichever partition or volume was previously booted.

Timer_Active
If TRUE, then the timeout timer is active.
Time_Out_Value
If the timeout timer is active, this is the length of the timeout, in seconds.
Advanced_Mode
If TRUE, then Boot Manager will operate in advanced mode. If FALSE, then normal mode will be in effect.
Error_Code
The address of a CARDINAL32 in which to store an error code should an error occur.

Returns

N/A.

Errors

If an error occurs, no changes will be made to Boot Manager and the value pointed to by Error_Code will be greater than 0.

Side Effects

Boot Manager may be modified.

Notes

None.

16-Bit Equivalent:

void _Far16 _Pascal _loadds SET_BOOT_MANAGER_OPTIONS16(
        CARDINAL32          Handle,
        BOOLEAN             Timer_Active,
        CARDINAL32          Time_Out_Value,
        BOOLEAN             Advanced_Mode,
        CARDINAL32 * _Seg16 Error_Code
);