Advantech SPC-57 user manual Ioctlsetscreenofftime, Examples

Models: SPC-57

1 85
Download 85 pages 11.8 Kb
Page 78
Image 78

lpOutBuffer: the DWORD pointer to your screen off time if user-interface idled. The unit is mini-second. If the value is 0, screen-off function is disabled.

nOutBufferSize: unused.

7. IOCTL_SET_SCREENOFFTIME (0x1007):

lpInBuffer : the DWORD pointer to your screen off time if user-interface idled. The unit is mini-second. If the value is 0, screen-off function is disabled.

nInBufferSize:unused.

lpOutBuffer: unused.

nOutBufferSize: unused.

8. IOCTL_SET_SCREENOFF (0x1010):

Set the LCD power off immediately.

lpInBuffer : unused.

nInBufferSize:.unused.

lpOutBuffer: unused.

nOutBufferSize: unused.

Examples:

#define IOCTL_ENABLE_WDT

0x1001

#define IOCTL_DISABLE_WDT

0x1002

#define IOCTL_GET_WDTPERIOD

0x1003

#define IOCTL_SET_WDTPERIOD

0x1004

#define IOCTL_ACCESS_WDT

0x1005

#define IOCTL_GET_SCREENOFFTIME

0x1006

#define IOCTL_SET_SCREENOFFTIME

0x1007

#define IOCTL_SET_SCREENON

0x100F

#define IOCTL_SET_SCREENOFF

0x1010

78

Page 78
Image 78
Advantech SPC-57 user manual Ioctlsetscreenofftime, Examples