Setautopwoff, Getautopwoff, Setstatusbar – Argox PA-20 Programming Guide User Manual
Page 100: Getstatausbar, Sn_get

PT-20 Programming Guide
98
Description: This function can get power on status for resume or restart.
Returns: 0:Resume
1:Restart
Purpose: Set auto power off timer.
Syntax: void SetAutoPWOff(int slTimer);
Example call: SetAutoPWOff(0);//Always on
Includes:
#include “SDK.h ”
Description: This function can set auto power off timer. The range is from 30 to
65535(s),
If the value is 0, that means always on.
Returns: None
Purpose: Get auto power off timer.
Syntax: int GetAutoPWOff(void);
Example call: int slAPO;
slAPO = GetAutoPWOff( );
Includes:
#include “SDK.h ”
Description: This function can get auto power off timer.
Returns: Auto power off timer(s).
Purpose: Set statusbar display/no display.
Syntax: void SetStatusBAR(int slStatus);
Example call: SetStatusBAR(TRUE);//Statusbar on.
Includes:
#include “SDK.h ”
Description: This function can set statusbar display or on display.
If use this function, all of the TextBlock setting will be reset.
Returns: None.
Purpose: Get statusbar display status.
Syntax: int GetStatusBAR(void);
Example call: if (GetStatusBAR())
_printf_color(COLOR_BLACK, “Statusbar on”);
Includes:
#include “SDK.h ”
Description: This function can get statusbar display status.
Returns: TRUE: Statusbar display
FALSE: Statusbar no display