typedef enum /* word */ { DTF_LONG, /* Thursday, 7th August, 1997 */ DTF_LONG_CONDENSED, /* Thu, 7 Aug, 1997 */ DTF_LONG_NO_WEEKDAY, /* 7th August, 1997 */ DTF_LONG_NO_WEEKDAY_CONDENSED, /* 7 Aug, 1997 */ DTF_SHORT, /* 7.8.97 */ DTF_ZERO_PADDED_SHORT, /* 07.08.97 */ DTF_MD_LONG, /* Thursday, 7th August */ DTF_MD_LONG_NO_WEEKDAY, /* 7th August */ DTF_MD_SHORT, /* 7.8 */ DTF_MY_LONG, /* August 1997 */ DTF_MY_SHORT, /* 8.97 */ DTF_MONTH, /* August */ DTF_WEEKDAY, /* Thursday */ DTF_HMS, /* 02:05:06 */ DTF_HM, /* 02:05 */ DTF_H, /* 02 */ DTF_MS, /* 5:06 */ DTF_HMS_24HOUR, /* 14:05:06 */ DTF_HM_24HOUR, /* 14:05 */ } DateTimeFormat;
typedef enum { DOTW_SUNDAY, DOTW_MONDAY, DOTW_TUESAY, DOTW_WEDNESDAY, DOTW_THURSDAY, DOTW_FRIDAY, DOTW_SATURDAY } DayOfTheWeek;
This enumerated type is used in the
TimerDateAndTime
structure.
typedef word DBGroup;
This is the handle of a DB group. It is the VM handle of a DB group block. DB group handles do not change when a file is copied, or when it is closed and reopened.
typedef dword DBGroupAndItem;
This is a dword which contains the group and item handles of a database item. The high word is the item's Group handle; the low word is the item's Item handle.
Macros are provided to create and parse the
DBGroupAndItem
:
DBCombineGroupAndItem()
DBGroupAndItem
from given group and item handles.DBCombineGroupAndItem(group, item);
DBExtractGroupFromGroupAndItem()
DBGroup
from a given
DBGroupAndItem
.DBExtractGroupFromGroupAndItem(groupAndItem);
DBExtractItemFromGroupAndItem()
DBItem
from a given
DBGroupAndItem
.DBExtractItemFromGroupAndItem(groupAndItem);
Include: geos.h
typedef word DBItem;
This is the handle of a DB item. The
DBItem
and
DBGroup
together uniquely identify a DB item in a specified file.
typedef struct { word paperWidth; word paperHeight; word documentWidth; word documentHeight; } DefaultPrintSizes;
typedef enum /* word */ { DP_NOT_PRESENT=0xffff, DP_CANT_TELL=0, DP_PRESENT=1, DP_INVALID_DEVICE=0xfffe } DevicePresent;
typedef enum /* word */ { ERR_DISKCOPY_INSUFFICIENT_MEM=0xd0, ERR_CANT_COPY_FIXED_DISKS, ERR_CANT_READ_FROM_SOURCE, ERR_CANT_WRITE_TO_DEST, ERR_INCOMPATIBLE_FORMATS, ERR_OPERATION_CANCELLED, ERR_CANT_FORMAT_DEST, } DiskCopyError;