
56
3.35 SysDisplayOn
This function turns on the screen on the terminal that is being in the virtual OFF mode.
Calling Sequences
[C++]
DWORD SysDisplayOn( )
[Visual Basic]
Public Shared Function SysDisplayOn() As Int32
[C#]
public static Int32 SysDisplayOn()
Parameters
None
Return Values
TRUE : Normal end
FUNCTION_UNSUPPORT : Unsupported error
Note:
Follow the steps below to set the terminal in the virtual OFF mode.
1. Set the virtual OFF mode effect with SysSetVirtualOffMode function.
7. Set "Turning off the power with Power key" effect with SysDisablePowerOff
function.
8. Once the above settings have been made, the power driver will issue either one of the
messages below depending on the terminal's condition when the Power key is pressed
(the same messages that are issued in ordinary power ON/OFF procedures.)
During the power is kept turned off;
• PBT_APMSUSPEND(0x0004) from WM_POWERBROADCAST(0x0218)
During the power is kept turned on;
• PBT_APMRESUMESUSPEND(0x0007) from WM_POWERBROADCAST
9. Using SysSetVirtualOffMode and SysSetAllKeyLock functions, turn off or on
the screen and set all key inputs disabled when either one of the messages above (in step
3) is issued. The Multi key and Trigger keys cannot be set disabled with
SysSetAllKeyLock function.
10. To set the Multi key disabled, set any key not used by the application to the Multi key
with SysSetNormalUserDefineKey function and turn off the click sound. If a reset is
performed during the virtual OFF mode, the setting of the Multi key is remained the
same with the one set during the virtual OFF mode. To avoid this, set the Multi key, if
the virtual OFF mode is used, so that the default setting must be set to it when the
application is invoked. To set the trigger keys disabled, perform the close process for the
laser scanner or C-MOS imager.
Kommentare zu diesen Handbüchern