typedef struct {
word RN_major;
word RN_minor;
word RN_change;
word RN_engineering;
} ReleaseNumber;
Used to record what version a file, document, or geode is. This represents the release level; the most significant numbers are
RN_major
and
RN_minor
. The other fields are typically used only internally to a manufacturer.
typedef dword RGBColorAsDWord; RGB_RED(val) ( val & 0xff) RGB_GREEN(val) ( (val >> 8) & 0xff ) RGB_BLUE(val) ( (val >> 16) & 0xff ) RGB_INDEX(val) ( (val >> 24) & 0xff )
See the
ColorQuad
data structure to find out the meanings of the fields.
typedef struct {
byte RGBT_red[256];
byte RGBT_green[256];
byte RGBT_blue[256];
} RGBTransfer;
typedef struct {
word SACA_opaqueSize;
/* label byte SACA_opaque; */
/* user-readable form of address follows opaque address--use
* SACA_opaqueSize to compute the offset to this data. */
} SACAddress;
The SocketAddressControl uses
SACAddress
structures to provide information about addresses.
Most programs won't need to look at the innards of this structure: they will just pass the opaque address information to
SocketResolve()
to make sure that the address is valid and reduce it to its primitive form.
However, if you need to construct a "raw" address to pass to
SocketResolve()
, you'll need to know the structure of the opaque address information. It's an
ExtendedSACAddress
buffer followed by a null-terminated user-readable connection address string..
The
ExtendedSACAddress
buffer consists of:
LinkType
value (one of LT_ADDR, LT_ID, or LT_DEFAULT), and parameters to identify the link. If the
LinkType
is LT_DEFAULT, then there are no further parameters. If the
LinkType
is LT_ID, then there is a word-length
LinkID
which acts as a permanent identifier for the link. If the
LinkType
is LT_ADDR, the parameter is a string which will be appended to the user-readable connection address string, surrounded by parentheses.Include: sac.goh
typedef struct {
DACSampleFormat SMID_format:15;
DACReferenceByte SMID_reference:1;
} SampleFormat;
typedef struct {
word SFD_manufact;
word SFD_format;
word SFD_rate;
word SFD_playFlags;
} SampleFormatDescription;
This structure acts as a header for a sampled sound, giving format information needed to properly interpret the sound data.
GEOS SDK TechDocs
|
|
RangeSortFlags ...
|
ScannerTokenCellData ...