typedef ByteFlags ToggleState; #define TS_CAPSLOCK 0x80 #define TS_NUMLOCK 0x40 #define TS_SCROLLLOCK 0x20
This structure describes the state of certain "toggles" which will affect how input is interpreted. These toggles correspond to the caps lock, num lock, and scroll lock keys.
typedef struct { GeodeToken TE_token; /* A GeodeToken structure for this file */ TokenDBItem TE_monikerList; /* A list of monikers for this token */ TokenFlags TE_flags; /* Flags indicating relocation status */ ReleaseNumber TE_release; /* Release number of the token DB */ ProtocolNumber TE_protocol; /* Protocol number of the toke DB */ } TokenEntry;
Used for the token entry in the map item of the token database, this structure identifies the structures and other information of each token. The
TE_monikerList
field points to a chunk containing the item numbers of the chunks of the token.
typedef WordFlags TokenFlags; #define TF_NEED_RELOCATION 0x8000
Used by token management routines, this flags record indicates whether the token has fields which must be relocated when the token is loaded or unloaded.
typedef struct { TokenDBItem TMI_moniker; word TMI_fileFlag; /* 0 if token is in shared token DB file; * Non-0 if it's in local file */ } TokenMonikerInfo;
typedef WordFlags TokenRangeFlags; #define TRF_ONLY_GSTRING 0x8000 #define TRF_ONLY_PASSED_MANUFID 0x4000 #define TRF_UNUSED 0x3fff
typedef enum { TE_NO_ERROR, /* No error */ TE_ERROR, /* General error */ TE_INVALID_FORMAT, /* Format is invalid */ TE_IMPORT_NOT_SUPPORTED, /* Format is not supported for export */ TE_EXPORT_NOT_SUPPORTED, /* Format is not supported for export */ TE_IMPORT_ERROR, /* General error during import */ TE_EXPORT_ERROR, /* General error during export */ TE_FILE_ERROR, /* Generic file error */ TE_DISK_FULL, /* The disk is full */ TE_FILE_OPEN, /* Error in opening a file */ TE_FILE_READ, /* Error in reading from a file */ TE_FILE_WRITE, /* Error in writing to a file */ TE_FILE_TOO_LARGE, /* File is too large to process */ TE_OUT_OF_MEMORY, /* Insufficient memory for import/export */ TE_METAFILE_CREATION_ERROR, /* Error in creating the metafile */ TE_EXPORT_FILE_EMPTY, /* File to be exported is empty */ TE_CUSTOM /* Custom error message */ } TransError;
This enumerated type contains error values the impex library may wish to generate when translating.
typedef struct { TransError transError; /* NOTE: customMsgHandle will be valid only if transError is TE_CUSTOM. */ word customMsgHandle; } TransErrorInfo;
typedef dword TransferBlockID; #define BlockIDFromFileAndBlock(f,b) (((dword)(f) << 16) | (b)) #define FileFromTransferBlockID(id) ((VMFileHandle) ((id) >> 16)) #define BlockFromTransferBlockID(id) ((VMBlockHandle) (id))
typedef struct { WWFixed TM_e11; WWFixed TM_e12; WWFixed TM_e21; WWFixed TM_e22; DWFixed TM_e31; DWFixed TM_e32; } TransMatrix;
The six variable elements of a coordinate transformation matrix.