SIMCALLBACK is the callback function prototype that SIM Manager uses when sending notifications. This function is part of the SIM Manager API set that enables access to information stored on the SIM card.
typedef void (*SIMCALLBACK) ( DWORD dwNotifyCode, const void* pData, DWORD dwDataSize, DWORD dwParam );
A code number that indicates the type of notification received. It can be one of the SIM_NOTIFY_ constants.
SIM card was removed; lpData is NULL.
Files on the SIM were refreshed; lpData points to a SIMFILEREFRESH structure.
A message was stored to the SIM; lpData points to a SIMMESSAGECHANGE structure.
A message was removed from the SIM; lpData points to a SIMMESSAGECHANGE structure.
A phone book entry was stored to the SIM; lpData points to a SIMPBECHANGE structure.
A phone book entry was removed from the SIM; lpData points to a SIMPBECHANGE structure.
Class 2 Short Message Service (SMS) was sent directly to the SIM; lpData points to a SIMMESSAGECHANGE structure.
The radio has been turned off but the AT interpreter is still on; lpData is NULL.
The radio is present and is now on; lpData is NULL.
A radio module/driver was installed; lpData points to a DWORD that is 0 if the radio is OFF and 1 if the radio is ON.
A radio module/driver has been removed; lpData is NULL.
Points to the data structure that is specific to the notification.
Size of the data structure in bytes.
Parameter argument that is passed to the SimInitialize function.