Advantech SPC-57 User Manual

Page 78

Advertising
background 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

Advertising