LINE_REGISTERSTATE (Compact 2013)
3/26/2014
A LINE_DEVSPECIFIC message with dwMessageType set to LINE_REGISTERSTATE is sent to the application every time the registration state changes. This includes switching to a different cell tower.
Syntax
#define LINE_REGISTERSTATE
dwParam1 = LINE_REGISTERSTATE;
dwParam2;
dwParam3;
Parameters
- dwParam1
The type of the message, in this case LINE_REGISTERSTATE.
- dwParam2
The registration state. See the Registration Status constants for possible values.
- dwParam3
Unused.
Remarks
When the location information changes, the LINE_REGISTERSTATE message is sent with the dwParam2 parameter set to RIL_NOTIFY_LOCATIONUPDATE. See Notification Network Constants for more information about that constant.
When the Enhanced Operator Name String (EONS) is available or is updated, the LINE_REGISTERSTATE message is sent with the dwParam2 parameter set to RIL_NOTIFY_EONS. See Notification Miscellaneous Constants for more information about that constant. The operator name can be queried using RIL_GetCurrentOperator.
Requirements
Header |
extapi.h |