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 625
type TFileHandle = record |
||
fh_Flags: LongWord; |
|
EXEC message |
fh_Port: PMsgPort; |
|
Reply port for the packet |
fh_Type: PMsgPort; |
|
|
fh_Buf: Pointer; |
|
Port to do ReplyMsg() |
fh_Pos: LongInt; |
|
|
fh_End: LongInt; |
|
|
fh_Func1: LongInt; |
|
|
fh_Func2: LongInt; |
|
|
fh_Func3: LongInt; |
|
|
fh_Arg1: LongInt; |
|
|
fh_Arg2: Pointer; |
|
|
fh_Size: LongWord; |
|
Size of buffered io buffer |
fh_Buf2: Pointer; |
|
Always the same as fh_Buf |
end; |