VMOpenType
typedef ByteEnum VMOpenType;
#define VMO_OPEN 0
#define VMO_TEMP_FILE 1
#define VMO_CREATE 2
#define VMO_CREATE_ONLY 3
#define VMO_CREATE_TRUNCATE 4
#define VMO_NATIVE_WITH_EXT_ATTRS 0x80
The following types are available:
-
VMO_TEMP_FILE
-
If this is passed, the file will be a temporary data file. When you create a temporary file, you pass a directory path, not a file name. The path should be followed by fourteen null bytes, including the string's terminating null. The system will choose an appropriate file name and add it to the path string.
-
VMO_CREATE_ONLY
-
If this is passed, the document will be created. If a document with the specified name already exists in the working directory,
VMOpen()
will return an error condition.
-
VMO_CREATE
-
If this is passed, the file will be created if it does not already exist; otherwise it will be opened.
-
VMO_CREATE_TRUNCATE
-
If this is passed, the file will be created if it does not already exist; otherwise, it will be opened and truncated (all data blocks will be freed).
-
VMO_OPEN
-
Open existing file. If file does not exist, return an error condition.
VMOperation
typedef enum {
VMO_READ,
VMO_INTERNAL,
VMO_SAVE,
VMO_SAVE_AS,
VMO_REVERT,
VMO_UPDATE,
VMO_WRITE
} VMOperation;
VMRelocType
typedef enum {
VMRT_UNRELOCATE_BEFORE_WRITE,
VMRT_RELOCATE_AFTER_READ,
VMRT_RELOCATE_AFTER_WRITE,
VMRT_RELOCATE_FROM_RESOURCE,
VMRT_UNRELOCATE_FROM_RESOURCE,
} VMRelocType;
VMStartExclusiveReturnValue
typedef enum {
VMSERV_NO_CHANGES,
VMSERV_CHANGES,
VMSERV_TIMEOUT
} VMStartExclusiveReturnValue;
VMGrabExclusive()
returns a member of this enumerated type. It may have one of the following values:
-
VMSERV_NO_CHANGES
-
No other thread has changed this file since the last time this thread had access to the file.
-
VMSERV_CHANGES
-
The file may have been altered since the last time this thread had access to it; the thread should take appropriate actions (such as re-reading any cached data).
-
VMSERV_TIMEOUT
-
This call to
VMGrabExclusive()
failed and timed out without getting access to the file.
VolumeName
typedef char VolumeName[VOLUME_BUFFER_SIZE];
WBFixed
typedef struct {
byte WBF_frac;
word WBF_int;
} WBFixed;
wchar
typedef unsigned int wchar;
WindowHandle
typedef Handle WindowHandle;
WinInfoType
typedef enum /* word */ {
WIT_PRIVATE_DATA =0,
WIT_COLOR =2,
WIT_INPUT_OBJ =4,
WIT_EXPOSURE_OBJ =6,
WIT_STRATEGY =8,
WIT_FLAGS =10,
WIT_LAYER_ID =12,
WIT_PARENT_WIN =14,
WIT_FIRST_CHILD_WIN =16,
WIT_LAST_CHILD_WIN =18,
WIT_PREV_SIBLING_WIN =20,
WIT_NEXT_SIBLING_WIN =22,
WIT_PRIORITY=24,
} WinInfoType;
WinInvalFlag
typedef ByteEnum WinInvalFlag;
#define WIF_INVALIDATE 0
#define WIF_DONT_INVALIDATE 1
WinPassFlags
typedef WordFlags WinPassFlags;
#define WPF_CREATE_GSTATE 0x8000
#define WPF_ROOT 0x4000
#define WPF_SAVE_UNDER 0x2000
#define WPF_INIT_EXCLUDED 0x1000
#define WPF_PLACE_BEHIND 0x0800
#define WPF_PLACE_LAYER_BEHIND 0x0400
#define WPF_LAYER 0x0200
#define WPF_ABS 0x0100
#define WPF_PRIORITY 0x00ff
WinPriority
typedef ByteEnum WinPriority;
#define WIN_PRIO_POPUP 4
#define WIN_PRIO_MODAL 6
#define WIN_PRIO_ON_TOP 8
#define WIN_PRIO_COMMAND 10
#define WIN_PRIO_STD 12
#define WIN_PRIO_ON_BOTTOM 14
word
typedef unsigned int word;
WordAndAHalf
typedef struct {
word WAAH_low;
byte WAAH_high;
} WordAndAHalf;
WordFlags
typedef word WordFlags;
WWFixed
typedef struct {
word WWF_frac;
word WWF_int;
} WWFixed;
WWFixedAsDWord
typedef dword WWFixedAsDWord
XYOffset
typedef struct {
sword XYO_x;
sword XYO_y;
} XYOffset;
A graphics coordinate offset.
XYSize
typedef struct {
word XYS_width;
word XYS_height;
} XYSize;
A graphics size, in two dimensions.
XYValueAsDWord
typedef dword XYValueAsDWord;
A graphics size, in two dimensions, expressed as a DWord.
|
GEOS SDK TechDocs
|
|
VisRulerType ...