6. LIBRARY FUNCTIONS
6-3
6.1.2 Shutdown function (BSSysShut)
<Name>
BSSysShut - System shutdown
<Syntax>
#include <w2kras.h>
int BSSysShut(reboot)
int reboot: /*Reboot flag*/
<Description>
BSSysShut shuts down the system.
The reboot argument is used for specifying whether to reboot the system after the shutdown.
reboot = 0: The power to this equipment is turned off after the shutdown.
reboot
0: The system reboots after the shutdown.
<Diagnosis>
0: Successful completion (System shutdown process has started)
1: Shutdown privilege acquisition error
2: Internal error (OS shutdown failed)
<Sample program>
We provide a sample program that uses this function in C. For information about the name of
the sample program and where you can find it, see “6.2 Sample Programs”.
Содержание HF-W7500 40
Страница 1: ...WIN 63 0090 03 ...
Страница 2: ...WIN 63 0090 03 ...
Страница 23: ...This page is intentionally left blank ...
Страница 105: ...This page is intentionally left blank ...
Страница 145: ...This page is intentionally left blank ...
Страница 161: ...This page is intentionally left blank ...