Advantech SPC-57 Ioctlgetwdtperiod, Ioctlsetwdtperiod, Ioctlaccesswdt, Ioctlgetscreenofftime

Models: SPC-57

1 85
Download 85 pages 11.8 Kb
Page 77
Image 77

nInBufferSize: unused.

lpOutBuffer: unused.

nOutBufferSize: unused.

3. IOCTL_GET_WDTPERIOD (0x1003):

lpInBuffer :unused.

nInBufferSize: unused.

lpOutBuffer: the DWORD pointer to your Watchdog time setting. The unit is mini-second. Its value should be greater 1000. The default setting is 5000 mini-seconds.

nOutBufferSize: unused.

4. IOCTL_SET_WDTPERIOD (0x1004):

lpInBuffer : the DWORD pointer to your Watchdog time setting. Its value should be greater 1000. The unit is mini-second. If your application opens the WDT driver, the default Watchdog timer is set to 5000 mini-seconds.

nInBufferSize:.unused.

lpOutBuffer: unused.

nOutBufferSize: unused.

5. IOCTL_ACCESS_WDT (0x1005):

Your application must trigger the Watchdog once during your Watchdog timer period. If your application has not trigger at the specified period, the device will reboot automatically.

lpInBuffer :unused.

nInBufferSize:.unused.

lpOutBuffer: unused.

nOutBufferSize: unused.

6. IOCTL_GET_SCREENOFFTIME (0x1006):

lpInBuffer :unused.

nInBufferSize: unused.

77

Page 77
Image 77
Advantech SPC-57 user manual Ioctlgetwdtperiod, Ioctlsetwdtperiod, Ioctlaccesswdt, Ioctlgetscreenofftime