Get_Boot_Manager_Options

This function returns the current Boot Manager settings.


#include <lvm_intr.h>

void _System Get_Boot_Manager_Options(

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

);

Parameters

Handle
The handle of the default boot volume or partition.
Handle_Is_Volume
If TRUE, then Handle represents a volume. If FALSE, then Handle represents a partition.
Timer_Active
If TRUE, then the timeout timer is active. If FALSE, then the timeout timer is not active.
Time_Out_Value
If the timeout timer is active, then this is the number of seconds that Boot Manager will wait for user input before booting the default volume/partition.
Advanced_Mode
If TRUE, then Boot Manager is operating in advanced mode. If FALSE, then Boot Manager is operating in normal mode.
Error_Code
The address of a CARDINAL32 in which to store an error code should an error occur.

Returns

N/A.

Errors

If any of the parameters is invalid, then a trap is likely. If Boot Manager is not installed, or any other error occurs, then the value pointed to by Error_Code will be greater than 0.

Side Effects

None.

Notes

The values pointed to by each of the parameters will be set by this function.

16-Bit Equivalent:

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