User manual

59 Chapter 4
4. IOCTL_WDT_GETTIMEOUT:
Get the Watchdog timeout value.
lpInBuffer: unused.
nInBufferSize: unused.
lpOutBuffer: The DWORD pointer to your Watchdog timeout setting.
The Watchdog timeout setting is just a number. 0 means 2 seconds, 1
means 5 seconds, 2 means 10 seconds, 3 means 15 seconds, 4 means 30
seconds, 5 means 45 seconds, 6 means 60 seconds, 7 means 120 seconds,
8 means 300 seconds, 9 means 600 seconds, 10 means 900 seconds, oth-
ers means the maximum 1140 seconds. The default setting is 5 seconds.
nOutBufferSize: unused.
5. IOCTL_WDT_SETTIMEOUT:
Set the Watchdog timeout value.
lpInBuffer : The DWORD pointer to your Watchdog timeout setting. The
Watchdog timeout setting is just a number. 0 means 2 seconds, 1 means 5
seconds, 2 means 10 seconds, 3 means 15 seconds, 4 means 30 seconds, 5
means 45 seconds, 6 means 60 seconds, 7 means 120 seconds, 8 means
300 seconds, 9 means 600 seconds, 10 means 900 seconds, others means
the maximum 1140 seconds. The default setting is 5 seconds.
nInBufferSize:.unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
6. IOCTL_WDT_REBOOT:
If you want your application to trigger the Watchdog by itself, please use
IOCTL_WDT_REBOOT to notify the WDT driver. Otherwise, the WDT
will trigger itself automatically.
lpInBuffer :unused.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.