Defines | |
#define | MS_TIMEOUT 10000 |
Timeout in millisecond to wait for the RIL callback routine to become ready. | |
#define | S_PARAM 601 |
ID of the error resource string on wrong parameters. | |
#define | S_ABANDON 602 |
ID of the error resource string if wating has been abandoned. | |
#define | S_TIMEOUT 603 |
ID of the timeout error resource string. | |
#define | S_INIT 604 |
ID of the initialization error resource string. | |
#define | S_QUERY 605 |
ID of the error resource string on cell tower info query error. | |
#define | S_CRTEVNT 606 |
ID of the event creation error resource string. | |
#define | S_UNKNOWN 607 |
ID of the resource string for an unknown error. | |
#define | MAINICON 101 |
ID of the icon used in the dll. | |
Typedefs | |
typedef struct _IRAPIStream | IRAPIStream |
Stream type for CeRapiInvoke-like functions. | |
Functions | |
BOOL WINAPI | DllMain (HANDLE hInstDLL, DWORD dwReason, LPVOID lpvReserved) |
Main entry point for the dll. | |
HRESULT APIENTRY | getRILCellInfo (DWORD cbInput, BYTE *pInput, DWORD *pcbOutput, BYTE **ppOutput, IRAPIStream *pStream) |
Returns the information about the presenlty active GSM cell. |
#define MAINICON 101 |
ID of the icon used in the dll.
#define MS_TIMEOUT 10000 |
Timeout in millisecond to wait for the RIL callback routine to become ready.
#define S_ABANDON 602 |
ID of the error resource string if wating has been abandoned.
#define S_CRTEVNT 606 |
ID of the event creation error resource string.
#define S_INIT 604 |
ID of the initialization error resource string.
#define S_PARAM 601 |
ID of the error resource string on wrong parameters.
#define S_QUERY 605 |
ID of the error resource string on cell tower info query error.
#define S_TIMEOUT 603 |
ID of the timeout error resource string.
#define S_UNKNOWN 607 |
ID of the resource string for an unknown error.
typedef struct _IRAPIStream IRAPIStream |
Stream type for CeRapiInvoke-like functions.
BOOL WINAPI DllMain | ( | HANDLE | hInstDLL, | |
DWORD | dwReason, | |||
LPVOID | lpvReserved | |||
) |
Main entry point for the dll.
Presently the function does nothing.
hInstDLL | handle to this DLL. | |
dwReason | only DLL_PROCESS_ATTACH and DLL_PROCESS_DETACH recognized. | |
lpvReserved | ignored. |
HRESULT APIENTRY getRILCellInfo | ( | DWORD | cbInput, | |
BYTE * | pInput, | |||
DWORD * | pcbOutput, | |||
BYTE ** | ppOutput, | |||
IRAPIStream * | pStream | |||
) |
Returns the information about the presenlty active GSM cell.
The function is intented to be run from a Host using CeRapiInvoke().
cbInput | number of bytes in the array pointed by pInput. Presently not used and ignored. | |
pInput | array of bytes of the input parameters. Presently not used and ignored. | |
pcbOutput | returned number of bytes in the array returned in ppOutput. In fact it is strlen of the string pointed by the pointer returned in ppOutput. | |
ppOutput | this returned byte array contains the GSM cell information retrieved from the RIL API. Format: ASCII (not UNICODE!) character string with the following integer values separaated with whitespaces:
| |
pStream | stream mode not supported yet and this parameter is not used and ignored. |