6. LIBRARY FUNCTIONS
6-4
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”.
Summary of Contents for HF-W6500 45/40
Page 1: ...WIN 63 0088 02 ...
Page 2: ...WIN 63 0088 02 ...
Page 21: ...This page is intentionally left blank ...
Page 35: ...This page is intentionally left blank ...
Page 79: ...4 CHECKING THE HARDWARE STATUS 4 26 5 In the SNMP Service Properties window click Apply ...
Page 91: ...This page is intentionally left blank ...
Page 105: ...This page is intentionally left blank ...
Page 137: ...This page is intentionally left blank ...