Up: GEOS SDK TechDocs| Up | Prev: FileDate ... | Next: FontFamily ...

FileFromTransferBlockID

VMFileHandle FileFromTransferBlockID(id);
        TransferBlockID		id;

This macro extracts the file handle from the given TransferBlockID value.

FileHandle

typedef Handle FileHandle;

 

FileID

typedef dword FileID;

 

FileLongName

typedef char FileLongName[FILE_LONGNAME_BUFFER_SIZE];

 

FileOwnerName

typedef char FileOwnerName[FILE_OWNER_NAME_SIZE];

 

FilePassword

typedef char FilePassword[FILE_PASSWORD_SIZE];

 

FilePosMode

typedef ByteEnum FilePosMode;
#define FILE_POS_START				0
#define FILE_POS_RELATIVE				1
#define FILE_POS_END				2

 

FileTime

typedef WordFlags FileTime;
#define FT_HOUR                 0xf800
#define FT_MINUTE               0x07e0
#define FT_2SECOND              0x001f
#define FT_HOUR_OFFSET          11
#define FT_MINUTE_OFFSET        5
#define FT_2SECOND_OFFSET       0

A file's time stamp is stored in a 16-bit bitfield. This field contains entries for the hour, minute, and second. Each field is identified by a mask and an offset. To access a field, simply clear all bits except those in the mask, then shift the bits to the right by the number of the offset. FileTime contains the following fields, identified by their masks:

FT_HOUR
This field records the hour on a 24-hour clock, with zero being the hour after midnight.. It is offset by FT_HOUR_OFFSET bits.
FT_MINUTE
This field identifies the minutes. It is offset by FT_MINUTE_OFFSET bits.
FT_2SECOND
This field records the second, divided by two; that is, a field value of 15 indicates the 30th second. (It is represented this way to let the second fit into 5 bits.) It is located at an offset of FT_2SECOND_OFFSET bits.

Include: file.h

See Also: FileDate

FileUserNotes

typedef char FileUserNotes[GFH_USER_NOTES_BUFFER_SIZE];

 

FindNoteHeader

typedef struct {
word 	FNH_count;			/* The number of matching notes we've found */
} FindNoteHeader;

 

FloatExponent

typedef WordFlags FloatExponent;
#define FE_SIGN         0x8000
#define FE_EXPONENT     0x7fff

 

FloatNum

typedef struct {
        word    				F_mantissa_wd0;
        word    				F_mantissa_wd1;
        word    				F_mantissa_wd2;
        word    				F_mantissa_wd3;
        FloatExponent   				F_exponent;
} FloatNum;

 

FontAttrs

typedef ByteFlags FontAttrs;
#define FA_FIXED_WIDTH 				0x40
#define FA_ORIENT 				0x20
#define FA_OUTLINE 				0x10
#define FA_FAMILY 				0x0f
#define FA_FAMILY_OFFSET				0

Include: font.h

 

FontEnumFlags

typedef ByteFlags FontEnumFlags;
#define FEF_ALPHABETIZE				0x80		/* Alphabetize returned list of fonts */
#define FEF_FIXED_WIDTH				0x20		/* Return only fixed-width fonts */
#define FEF_FAMILY 				0x10		
#define FEF_STRING 				0x08		
#define FEF_DOWNCASE 				0x04		/* Returned font names will be lowercase */
#define FEF_BITMAPS 				0x02		/* Interested in bitmap fonts */
#define FEF_OUTLINES 				0x01		/* Interested in outline fonts */

 

Include: font.h

FontEnumStruct

typedef struct {
 FontIDs	 	FES_ID;
 char 		FES_name[FID_NAME_LEN];
} FontEnumStruct;

 

Include: font.h


Up: GEOS SDK TechDocs| Up | Prev: FileDate... | Next: FontFamily ...