Set_Reboot_Flag

This function sets 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>

void _System Set_Reboot_Flag(

    BOOLEAN      Reboot,      /* (I) New value for the Reboot Flag */
    CARDINAL32 * Error_Code   /* (O) Address where the error code will be stored */

);

Parameters

Reboot
The new value for the Reboot Flag. If TRUE, then the Reboot Flag will be set. If FALSE, then the Reboot Flag will be cleared.
Error_Code
The address of a CARDINAL32 in which to store an error code should an error occur.

Returns

N/A.

Errors

If an error occurs, then the Reboot Flag will be unchanged, and the value pointed to by Error_Code will be greater than 0.

Side Effects

The value of the Reboot Flag may be changed.

Notes

None.

16-Bit Equivalent:

void _Far16 _Pascal _loadds SET_REBOOT_FLAG16(
        BOOLEAN             Reboot,
        CARDINAL32 * _Seg16 Error_Code
);