Set_Startable

This function sets the specified volume or partition Startable. A Startable volume or partition will be booted directly from the Master Boot Record on system startup.

If a partition is specified, it must be a primary partition on the first drive in the system. If a volume is specified, it must be a compatibility volume consisting of a primary partition on the first drive.

Only one partition or volume may be set Startable.


#include <lvm_intr.h>

void _System Set_Startable(

    ADDRESS      Handle,      /* (I) Handle of a volume or partition */
    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 set Startable.
Error_Code
The address of a CARDINAL32 in which to store an error code should an error occur.

Returns

N/A.

Errors

If the volume or partition could not be set Startable, then nothing in the system is changed.

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

Side Effects

Any other partition or volume which is marked Startable will have its Startable flag cleared.

Notes

None.

16-Bit Equivalent:

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