[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FT_REBOOT()
Force a warm or cold boot
------------------------------------------------------------------------------
Syntax
FT_REBOOT( <nBootType> ) -> NIL
Arguments
<nBootType> is used to indicate the type of reboot. A value of zero
will cause a cold boot, while any other value will cause a warm boot.
Returns
NIL
Description
This function is valuable if you need to reboot the PC for some
reason; e.g. an installation routine that modifies CONFIG.SYS or
AUTOEXEC.BAT.
The source code is written to adhere to Turbo Assembler's IDEAL mode.
To use another assembler, you will need to rearrange the PROC and
SEGMENT directives, and also the ENDP and ENDS directives (a very
minor task).
Examples
#define COLD 0
#define WARM 1
// Issue a warm boot
FT_Reboot(WARM)
Source: REBOOT.ASM
Author: Ted Means
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson