
PT-20 Programming Guide
This function can get power on status for resume or restart.
Set auto power off timer.
void SetAutoPWOff(int slTimer);
SetAutoPWOff(0);//Always on
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.
Get auto power off timer.
int slAPO;
slAPO = GetAutoPWOff( );
This function can get auto power off timer.
Set statusbar display/no display.
void SetStatusBAR(int slStatus);
SetStatusBAR(TRUE);//Statusbar on.
This function can set statusbar display or on display.
If use this function, all of the TextBlock setting will be reset.
Get statusbar display status.
if (GetStatusBAR())
_printf_color(COLOR_BLACK, “Statusbar on”);
This function can get statusbar display status.
TRUE: Statusbar display
FALSE: Statusbar no display
Commentaires sur ces manuels