home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / TRSICAT.LZX / CATS_CD2_TRSI / Inc&AD2.1 / includes / utility / hooks.i < prev    next >
Encoding:
Text File  |  1992-09-11  |  664 b   |  35 lines

  1.     IFND UTILITY_HOOKS_I
  2. UTILITY_HOOKS_I SET 1
  3. **
  4. **    $VER: hooks.i 36.1 (12.07.90)
  5. **    Includes Release 38.56
  6. **
  7. **    callback hooks
  8. **
  9. **    (C) Copyright 1989-1992 Commodore-Amiga Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.     IFND EXEC_TYPES_I
  14.     INCLUDE "exec/types.i"
  15.     ENDC
  16.  
  17.     IFND EXEC_NODES_I
  18.     INCLUDE "exec/nodes.i"
  19.     ENDC
  20.  
  21.  
  22. ; New Hook conventions
  23. ; A0 - pointer to hook itself
  24. ; A1 - pointer to parameter packed ("message")
  25. ; A2 - Hook specific address data ("object," e.g, gadget )
  26.  
  27.  STRUCTURE HOOK,MLN_SIZE
  28.     APTR    h_Entry            ; assembler entry point
  29.     APTR    h_SubEntry        ; optional HLL entry point
  30.     APTR    h_Data            ; owner specific
  31.  LABEL        h_SIZEOF
  32.  
  33.  
  34.  ENDC
  35.