Get_Reboot_Flag

This function returns the value of the Reboot Flag. The Reboot Flag is a special flag on the boot disk used by the OS/2 install program to keep track of whether or not the system was just rebooted. It is used by the various phases of install.


#include <lvm_intr.h>

BOOLEAN _System Get_Reboot_Flag(

    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

The function return value will be TRUE if no errors occur and the Reboot Flag is set.

Errors

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

Side Effects

None.

Notes

None.

16-Bit Equivalent:

BOOLEAN _Far16 _Pascal _loadds GET_REBOOT_FLAG16( CARDINAL32 * _Seg16 Error_Code );