Get_Boot_Manager_Handle

This function returns the handle of the partition which contains Boot Manager.


#include <lvm_intr.h>

ADDRESS _System Get_Boot_Manager_Handle(

    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 Boot Manager is installed (whether it is active or not), the handle of the partition which it resides in is returned.

If Boot Manager is not installed, NULL is returned.

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:

ADDRESS _Far16 _Pascal _loadds GET_BOOT_MANAGER_HANDLE16( CARDINAL32 * _Seg16 Error_Code);