Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

TFileHandle

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

Declaration

Source position: amigados.pas line 385

type TFileHandle = packed record

  case Byte of

    0: (

        fh_Link: LongWord;

  

Exec message

        fh_Port: LongInt;

  

Reply port for the packet

      );

    1: (

        fh_Flags: LongWord;

  

EXEC message

        fh_Interactive: LongInt;

  

        fh_Type: PMsgPort;

  

        fh_Buf: LongInt;

  

Port to do ReplyMsg()

        fh_Pos: LongInt;

  

        fh_End: LongInt;

  

        fh_Func1: LongInt;

  

        fh_Func2: LongInt;

  

        fh_Func3: LongInt;

  

        fh_Arg1: LongInt;

  

        fh_Arg2: LongInt;

  

        fh_BufSize: LongInt;

  

        fh_OrigBuf: LongInt;

  

      );

end;


Documentation generated on: 2021-07-30