#include <lvm_intr.h> BOOLEAN _System Boot_Manager_Is_Installed( BOOLEAN * Active, /* (O) Address where the Boot Manager active status will be stored */ CARDINAL32 * Error_Code /* (O) Address where the error code will be stored */ );
Parameters
If Boot Manager is not installed, this value is undefined.
Returns
The function returns TRUE if Boot Manager is found on one of the first two hard drives in the system. In this case, the value pointed to by Active will indicate (TRUE or FALSE) whether or not this copy of Boot Manager is active.
FALSE is returned if Boot Manager is not found or if an error occurs. In this case, the value pointed to by Active is undefined.
Errors
If an error occurs, the value pointed to by Error_Code will be greater than 0.
Side Effects
None.
Notes
The current OS/2 implementation of this function is unreliable, and calling it may cause a segmentation fault in some circumstances. If an application needs to determine whether or not Boot Manager is installed, it should use the Get_Boot_Manager_Handle function instead.
16-Bit Equivalent:
BOOLEAN _Far16 _Pascal _loadds BOOT_MANAGER_IS_INSTALLED16( BOOLEAN * _Seg16 Active, CARDINAL32 * _Seg16 Error_Code );