typedef struct {
word DIS_blockSize;
sdword DIS_freeSpace;
sdword DIS_totalSpace;
VolumeName DIS_name;
} DiskInfoStruct;
typedef ByteEnum DisplayAspectRatio; #define DAR_NORMAL 0 #define DAR_SQUISHED 1 #define DAR_VERY_SQUISHED 2
typedef ByteEnum DisplayClass; #define DC_TEXT 0 #define DC_GRAY_1 1 #define DC_GRAY_2 2 #define DC_GRAY_4 3 #define DC_GRAY_8 4 #define DC_COLOR_2 5 #define DC_COLOR_4 6 #define DC_COLOR_8 7 #define DC_CF_RGB 8
typedef ByteEnum DisplaySize; #define DS_TINY 0 #define DS_STANDARD 1 #define DS_LARGE 2 #define DS_HUGE 3
typedef ByteFlags DisplayType; #define DT_DISP_SIZE 0xc0 #define DT_DISP_ASPECT_RATIO 0x30 #define DT_DISP_CLASS 0x0f
typedef ByteEnum DistanceUnit; #define DU_POINTS 0 #define DU_INCHES 1 #define DU_CENTIMETERS 2 #define DU_MILLIMETERS 3 #define DU_PICAS 4 #define DU_EUR_POINTS 5 #define DU_CICEROS 6 #define DU_POINTS_OR_MILLIMETERS 7 #define DU_INCHES_OR_CENTIMETERS 8 #define LOCAL_DISTANCE_BUFFER_SIZE 32
typedef enum /* word */ {
DQS_OK,
DQS_CANCEL,
DQS_DELAYED,
DQS_SAVE_ERROR
} DocQuitStatus;
typedef enum /* word */ {
CODE_PAGE_US=437,
CODE_PAGE_MULTILINGUAL=850,
CODE_PAGE_PORTUGUESE=860,
CODE_PAGE_CANADIAN_FRENCH=863,
CODE_PAGE_NORDIC=865
} DosCodePage;
typedef ByteFlags DosExecFlags; #define DEF_PROMPT 0x80 /* prompt user to return to GEOS */ #define DEF_FORCED_SHUTDOWN 0x40 /* force shutdown; no abort */ #define DEF_INTERACTIVE 0x20 /* program is interactive shell */
Flags used with
DosExec().
DosExec() executes a DOS program based on these flags.
typedef struct {
byte DFIS_attributes;
dword DFIS_modTimeDate;
dword DFIS_fileSize;
char DFIS_name[DOS_DOT_FILE_NAME_LENGTH_ZT];
word DFIS_pathInfo;
} DosFileInfoStruct;
GEOS SDK TechDocs|
|
DateTimeFormat ... |
DosNoDotFileName ...