Add_To_Boot_Manager

This function adds a volume or partition to the Boot Manager menu.


#include <lvm_intr.h>

void _System Add_To_Boot_Manager(

    ADDRESS      Handle,      /* (I) Handle of the partition or volume to be added */
    CARDINAL32 * Error_Code   /* (O) Address where the error code will be stored */

);

Parameters

Handle
The handle of a partition or volume which is to be added to the Boot Manager menu.
Error_Code
The address of a CARDINAL32 in which to store an error code should an error occur.

Returns

N/A.

Errors

If Handle is not a valid handle, a trap may result.

If Handle represents a drive, then this function will abort and an error condition will occur.

If the partition or volume cannot be added to the Boot Manager menu, no action is taken and the value pointed to by Error_Code will be non-zero.

Side Effects

The Boot Manager menu may be altered.

Notes

None.

16-Bit Equivalent:

void _Far16 _Pascal _loadds ADD_TO_BOOT_MANAGER16(
        CARDINAL32          Handle,
        CARDINAL32 * _Seg16 Error_Code
);