Setsppservice – Argox PT-9130 User Manual
Page 55

PT-90 Mobile Computer SDK Programming Manual 48
SetSPPService
Enable or disable Bluetooth serial port profile service.
DWORD SetSPPService
{
BOOL
bEnable
}
Parameters
bEnable
[in] Flag that indicates whether to enable (TRUE) or disable (FALSE) the serial port profile service mode
Returned Values
If the action succeeds, the returned value is
. If the action fails, possible returned values are
Example
If(SetSPPService(TRUE) != E_FUNC_SUCCEED)
AfxMessageBox(“Setting fail”);
Requirements
OS Versions: Windows CE 6.0 or beyond.
Header: sysapiax.h
Link Library: sysapiax.lib
Link DLL: sysapiax.dll
Device: PT90