|
API Guide Home (Online version only) |
![]() |
Usage Model:
This library is automatically loaded at boot time by HsExtensions. Apps that call this library should only have to call SysLibFind. They should never have to load the library. LibOpen and LibClose should not be called either.
Definition in file CarrierCustomLib.h.
Include dependency graph for CarrierCustomLib.h:

Go to the source code of this file.
| #define CCUSTOM_LIB_TRAP | ( | trapNum | ) | SYS_TRAP(trapNum) |
Definition at line 54 of file CarrierCustomLib.h.
| #define ENCRYPTED_DATABASE true |
internal
Definition at line 47 of file CarrierCustomLib.h.
| #define MVNONAME_LENGTH 10 |
Definition at line 49 of file CarrierCustomLib.h.
Closes library and frees up allocated resources Close the library and decrements the reference count. This should never be called by an application.
| refNum,: | IN: CCustomLib reference number (from SysLibFind or SysLibLoad) |
| Err | Error Code. |
Returns the carrier ID from the SIM. Makes a copy of MMC/MNC code and returns it.
| refNum,: | IN: CCustomLib reference number (from SysLibFind or SysLibLoad) | |
| length,: | IN,OUT: length of buffer passed in, length of buffer used/needed (not including terminator) | |
| dataP,: | OUT: pointer to store the value |
| Err | Error code. |
Returns the actual length of the carrier ID. If no carrier code is passed it, returns the length of the current carrier ID. This length is usually 6 for North American countries and 5 for others.
| refNum,: | IN: CCustomLib reference number (from SysLibFind or SysLibLoad) | |
| lengthP,: | IN,OUT: length of carrier code. Uses the current carrier if no carrier code is passed in | |
| carrierCodeP,: | IN: optional carrier code |
| Err | Error code. |
| Err CCustomLibGetCarrierSetting | ( | UInt16 | refNum, | |
| CCSMSettingsType | settingsType, | |||
| void * | dataP | |||
| ) |
Returns the specified setting. Returns the carrier settings for the given field. Any memory allocation must be freed by the calling application. Currently, only string types are allocated.
| refNum,: | IN: CCustomLib reference number (from SysLibFind or SysLibLoad) | |
| settingsType,: | IN: object type specified by settingsTypeEnum | |
| dataP,: | IN,OUT: allocated object containing data, undefined on err |
| Err | Error code. |
Open the library, initialize library globals Initializes the library globals, based on the last known carrier. This should never be called by an application, as it is automatically loaded by the system and opened.
| refNum,: | IN: CCustomLib reference number (from SysLibFind or SysLibLoad) |
| Err | Error Code. |
Standard library sleep routine
| refNum,: | IN: CCustomLib reference number (from SysLibFind or SysLibLoad) |
| Err | Error code. |
| Err CCustomLibVersionGet | ( | UInt16 | refNum, | |
| UInt32 * | majorVerP, | |||
| UInt32 * | minorVerP, | |||
| UInt32 * | bugFixVerP | |||
| ) |
Get Library API Version number.
| refNum,: | IN: Library reference number | |
| majorVerP,: | OUT: Major version number | |
| minorVerP,: | OUT: Minor version number | |
| bugFixVerP,: | OUT: Bug fix version number |
| Err | Customization Library error code |
Standard library wake routine
| refNum,: | IN: CCustomLib reference number (from SysLibFind or SysLibLoad) |
| Err | Error code. |
| Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:06:56 2008 for Palm API Guide |