EasyManua.ls Logo

Argox PT-9230 - Enableautoconnect

Argox PT-9230
182 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PT-9230 Mobile Computer SDK Programming Manual 28
EnableAutoConnect
To turn the AUTOCONNECT function ON or OFF.
BOOL EnableAutoConnect
{
BOOL bEnable
}
Parameters
bEnable
[in] Flag that indicates whether ActiveSync is being automatically executed (TRUE) or not (FALSE)
when user plugging host interface cable into the terminal.
Returned Values
Returning TRUE if the operation is successful. otherwise, FALSE.
Remarks
If calling EnableAutoConnect with bEnable set to TRUE, the terminal will automatically execute ActiveSync
program when user plug cable into the terminal. If calling EnableAutoConnect with bEnable set to FALSE, the
terminal will not automatically execute ActiveSync program when user plug cable into the terminal.
Example
BOOL bResult;
bResult = EnableAutoConnect(TRUE);
if(bResult == FALSE)
AfxMessageBox(_T("EnableAutoConnect fail"));
Requirements
OS Versions: Windows CE 6.0 or beyond.
Header: sysapiax.h
Link Library: sysapiax.lib
Link DLL: sysapiax.dll
Device: PT90

Table of Contents

Related product manuals