The pointer of this structure is returned by DosOpen() and other routines that return a file. You need only worry about this struct to do async io's via PutMsg() instead of standard file system calls
Source position: amigados.pas line 956
type TFileHandle = record |
||
fh_StructSize: Word; |
||
fh_Flags: Word; |
|
EXEC message |
fh_Interactive: LongInt; |
||
fh_MsgPort: PMsgPort; |
||
fh_Buf: LongInt; |
|
Port to do ReplyMsg() |
fh_Pos: LongInt; |
|
|
fh_End: LongInt; |
|
|
fh_Func1: Pointer; |
|
|
fh_Func2: Pointer; |
|
|
fh_Func3: Pointer; |
|
|
fh_Arg1: LongInt; |
|
|
fh_Arg2: Pointer; |
|
|
fh_OpenerPID: LongWord; |
||
fh_Reserved2: LongInt; |
||
fh_Reserved1: LongInt; |
||
fh_Priv: array [0..17] of LongInt; |
||
end; |