typedef struct {
byte numberFormatFlags;
byte decimalDigits;
word thousandsSeparator;
word decimalSeparator;
word listSeparator;
} LocalNumericFormat;
typedef struct {
word frontSingle;
word endSingle;
word frontDouble;
word endDouble;
} LocalQuotes;
ManufacturerID ManufacturerFromFormatID(type);
ClipboardItemFormatID type;
This macro extracts the manufacturer ID from the given clipboard format ID and manufacturer value.
typedef word ManufacturerID #define MANUFACTURER_ID_GEOWORKS 0 #define MANUFACTURER_ID_APP_LOCAL 1 #define MANUFACTURER_ID_DOS_LAUNCHER 5 #define MANUFACTURER_ID_SDK 8 #define MANUFACTURER_ID_GENERIC 10
While geode.h defines many other ManufacturerIDs for specific developers, the only one of these which is useful to know about when developing for the Nokia 9000i communicator is MANUFACTURER_ID_NOKIA.
Each company should have its own manufacturer ID which is unique to the company and ensures that its applications' GeodeTokens do not conflict with those of other manufacturers. If you don't have a manufacturer ID but think you should, contact Geoworks Developer Support.
typedef ByteEnum MapColorToMono; #define CMT_CLOSEST 0 #define CMT_DITHER 1
This type determines what the graphics system will do when trying to draw in an unavailable color. It will either draw in the closest color, or else mix two or more close colors to get as close as possible overall.
typedef struct {
LMemBlockHeader MLBH_base;
word MLBH_numDestFields;
word MLBH_chunk1;
} MapListBlockHeader;
typedef struct {
int leftMargin;
int topMargin;
int rightMargin;
int bottomMargin;
} MarginDimensions;
#define MAX_FIELD_NAME_LENGTH 40
Maximum size of a field name in a datastore. See
DataStoreAddField().
typedef enum /* byte */ {
#define MEDIA_NONEXISTENT 0
#define MEDIA_160K 1
#define MEDIA_180K 2
#define MEDIA_320K 3
#define MEDIA_360K 4
#define MEDIA_720K 5
#define MEDIA_1M2 6
#define MEDIA_1M44 7
#define MEDIA_2M88 8
#define MEDIA_FIXED_DISK 9
#define MEDIA_CUSTOM 10
} MediaType;
The
MediaType
enumerated type indicates how a disk is formatted. A member of this enumerated type is returned by some disk-information routines (e.g.
DriveGetDefaultMedia()). A
MediaType
value is also passed to
DiskFormat(), indicating how the disk should be formatted.
typedef struct {
MediumType MU_medium;
MediumUnitType MU_unitType;
word MU_unit;
} MediumAndUnit;
This structure represents an instance of some communication medium-generally this corresponds to some hardware port or peripheral device.
Include: medium.h
GEOS SDK TechDocs|
|
LMemType ... |
MediumUnitType ...