Remove_From_Boot_Manager

This function removes the specified partition or volume from the Boot Manager menu.


#include <lvm_intr.h>

void _System Remove_From_Boot_Manager(

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

);

Parameters

Handle
The handle of the partition or volume which is to be removed from 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, or if Handle represents a volume or partition which is not on the Boot Manager menu, then this function will abort 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 REMOVE_FROM_BOOT_MANAGER16(
        CARDINAL32          Handle,
        CARDINAL32 * _Seg16 Error_Code
);