Up: GEOS SDK TechDocs| Up | Prev: LocalNumericFormat ... | Next: MixMode ...

MediumUnitType

typedef ByteEnum MediumUnitType;
        #define MUT_NONE      0x0
        #define MUT_INT       0x1
        #define MUT_MEM_BLOCK 0x2
        #define MUT_ANY       0x3

Include: medium.h

MediumType

typedef struct {
            word            MET_id;
            ManufacturerID  MET_manuf;
} MediumType;

This structure represents a communication medium. Several standard media may be represented with a MET_manuf of MANUFACTURER_ID_GEOWORKS and a GeoworksMediumID in MET_id .

Include: medium.h

MemGetInfoType

See MemGetInfo().

MemHandle

typedef Handle MemHandle;

 

Message

typedef word Message;

 

MessageError

typedef enum /* word */ {
 MESSAGE_NO_ERROR,				/* no error was encountered */
 MESSAGE_NO_HANDLES				/* no handle could be allocated
				 * and MF_CAN_DISCARD_IF_DESPARATE
				 * was passed */
} MessageErrors;

A MessageError is returned by the assembly routine ObjMessage() in assembly to indicate whether the message was successfully sent. This is not encountered by C applications.

MessageFlags

typedef WordFlags MessageFlags;
#define MF_CALL							0x8000			/* @call */
#define MF_FORCE_QUEUE 							0x4000
#define MF_STACK							0x2000			/* @stack */
#define MF_CHECK_DUPLICATE 							0x0800
#define MF_CHECK_LAST_ONLY 							0x0400
#define MF_REPLACE 							0x0200
#define MF_CUSTOM							0x0100
#define MF_FIXUP_DS 							0x0080
#define MF_FIXUP_ES 							0x0040
#define MF_DISCARD_IF_NO_MATCH 							0x0020
#define MF_MATCH_ALL 							0x0010
#define MF_INSERT_AT_FRONT 							0x0008			/* puts at front of queue */
#define MF_CAN_DISCARD_IF_DESPERATE 							0x0004
#define MF_RECORD 							0x0002			/* @record */
#define MF_DISPATCH_DONT_FREE 							0x0002

MessageFlags are specified in the assembly routine ObjMessage() . Most of these flags are set properly by Goc and the kernel in C. See the reference entries for the Goc keywords @call and @send .

MessageHandle

typedef Handle MessageHandle;

 

MessageMethod

typedef void	 MessageMethod();

Goc uses this type when building up method tables for classes.

MinIncrementType

typedef union {
MinUSMeasure				MIT_US;
MinMetricMeasure				MIT_METRIC;
MinPointMeasure				MIT_POINT;
MinPicaMeasure				MIT_PICA;
} MinIncrementType;

 

MinMetricMeasure

typedef ByteEnum MinMetricMeasure;
#define MMM_MILLIMETER					0
#define MMM_HALF_CENTIMETER					1
#define MMM_CENTIMETER 					2

 

MinPicaMeasure

typedef ByteEnum MinPicaMeasure;
#define MPM_PICA					0
#define MPM_INCH					1

 

MinPointMeasure

typedef ByteEnum MinPointMeasure;
#define MPM_25_POINT					0
#define MPM_50_POINT					1
#define MPM_100_POINT					2

 

MinUSMeasure

typedef ByteEnum MinUSMeasure;
#define MUSM_EIGHTH_INCH					0
#define MUSM_QUARTER_INCH					1
#define MUSM_HALF_INCH 					2
#define MUSM_ONE_INCH 					3

 


Up: GEOS SDK TechDocs| Up | Prev: LocalNumericFormat ... | Next: MixMode ...