-
4. UnitechAPI.DLL
In MR650, Unitech create UnitechAPI.DLL to provide some special function calls which are different from
standard Microsoft API. For example, RS232 is defined as host communication port with PC via ActiveSync,
so it will automatically invoke ActiveSync program to do communication with PC when RS232 cable is
plugged into MR650. However, it will make RS232 port useless if user want to connect MR650 with any
device with RS232 interface. RS232Event.DLL provides function call for user to disable ActiveSync function
over RS232 port to let user directly control RS232 port.
Unitech also provide several function to enable/disable several system icon and task bar. For WinCE system,
it just like Windows OS platform, user can directly tap “Start” button from task bar to setup terminal or
execute any application on WinCE terminal, so it mean that operator can change, modify or delete any
setting. If system developer don’t want operator to do any extra operation beside application, Unitech provide
function call to provides ability to disable/enable task bar, keyboard and etc.
You can get demo program from MR650 technical binder zip files from \programming\UnitechAPI
4.1. Disable ActiveSync
Function Description:
After called this function, MR650 will not automatically execute ActiveSync program(“repllog.exe”)
when user plug RS232 cable into MR650.
Function call:
BOOL RS232EventEnable (VOID);
Return code:
TRUE = OK
FALSE = Fail
4.2. Enable ActiveSync
Function Description:
After called this function, MR650 will automatically execute ActiveSync program (“repllog.exe”)
again when user plug RS232 cable into MR650.
Function call:
BOOL RS232EventEnable (LPTSTR);
Parameter (Input):
String buffer and content should be “REPLLOG.EXE”. If user assign other program, it will invoke
user defined program rather than “REPLLOG.EXE”
Return code:
TRUE = OK
FALSE = File not found
4.3. Suspend
Function Description:
After called this function, MR650 will automatically suspend itself.
Function call:
void Suspend (void);
4.4. Disable TaskBar
Function Description:
This function will hide “TaskBar” and it doesn’t like “Auto Hide” function which is set from Start
Settings TaskBar. “TaskBar” can not be show again when tap button of LCD screen. It need to
execute “Enable_TaskBar()” to enable it again.
Function call:
BOOL DisableTaskbar (VOID);
Return code:
TRUE = OK
FALSE = Fail
Содержание MR650
Страница 1: ...MR650 Programming Manual V 1 12 1 16 2008 ...
Страница 7: ... 7 13 FUNCTION KEY SETTING ON REGISTRY 65 14 UPDATE NOTES 66 ...
Страница 16: ... it is for internal use send messages ...
Страница 33: ... Be aware to release handles when program ends ...