Get Current Event Status                           

Input

Output

AX CBh 10h  Zero / -Error Code AX
BX     Event Number of Current Event BX
CX         CX
DS:DX  Pointer to 512 byte status area     DX
  The Get Current Event Status function (10H) returns the status of the
  currently executing event.

  The Event number returned is of the current event (if the function
  completed without an error).  If there is no current event, error code
  202H is returned.  Note that the number in register BX is the negative
  (2's complement) of the error code (that is,  FDFEH.)

  This function fills the status area pointed to by DS:DX on entry with a
  truncated version of the Control File for the current event.  This data
  structure is identical to the Control File structure with two exceptions:

    :  Only one File Transfer Record (FTR) is included.  The FTR included is
       the one controlling the current file transfer.

    :  No cover page text field is included.  Instead the current FTR begins
       at offset 383.

  Therefore, the end of the Control File has the following format:

       Ofs  Len  Description

       303  80   Path and name of PCX logo file (maximum size 1728 x 800
                 pels)

       383  128  The File Transfer Record corresponding to the current event

See Also 11h 05h 06h 01h Error Codes


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .