Get_Installable_Volume

This function returns information for the volume which is currently marked as Installable.

The Installable flag is used by the OS/2 installation program (RSPINST). It is set for only one volume in the system, and only at OS install time. It designates the volume onto which OS/2 will be installed.


#include <lvm_intr.h>

Volume_Information_Record _System Get_Installable_Volume (

    CARDINAL32 * Error_Code    /* (O) Address where the error code will be stored */

);

Parameters

Error_Code
The address of a CARDINAL32 in which to store an error code should an error occur.

Returns

If a volume is marked Installable, its information will be returned and the value pointed to by Error_Code will be LVM_ENGINE_NO_ERROR (0).

If there is no volume marked Installable, then the value pointed to by Error_Code will be greater than 0.

Errors

If an error occurs, the value pointed to by Error_Code will be greater than 0.

Side Effects

None.

Notes

None.

16-Bit Equivalent:

void _Far16 _Pascal _loadds GET_INSTALLABLE_VOLUME16(
        Volume_Information_Record * _Seg16  Volume_Information,
        CARDINAL32 *                _Seg16  Error_Code
);