home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROSdev.lha / AROS / rom / utility / callhookpkt.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-27  |  1.2 KB  |  65 lines

  1. /*
  2.     (C) 1995 AROS - The Amiga Replacement OS
  3.     $Id: callhookpkt.c,v 1.5 1997/01/27 00:32:30 ldp Exp $
  4.     $Log: callhookpkt.c,v $
  5.     Revision 1.5  1997/01/27 00:32:30  ldp
  6.     Polish
  7.  
  8.     Revision 1.4  1996/12/27 08:19:34  iaint
  9.     Use UFC macro for registerized params
  10.  
  11.     Desc:
  12.     Lang: english
  13. */
  14. #include "utility_intern.h"
  15.  
  16. /*****************************************************************************
  17.  
  18.     NAME */
  19. #include <utility/hooks.h>
  20. #include <proto/utility.h>
  21.  
  22.     AROS_LH3(ULONG, CallHookPkt,
  23.  
  24. /*  SYNOPSIS */
  25.     AROS_LHA(struct Hook *, hook, A0),
  26.     AROS_LHA(APTR         , object, A2),
  27.     AROS_LHA(APTR         , paramPacket, A1),
  28.  
  29. /*  LOCATION */
  30.     struct Library *, UtilityBase, 17, Utility)
  31.  
  32. /*  FUNCTION
  33.     
  34.     INPUTS
  35.  
  36.     RESULT
  37.  
  38.     NOTES
  39.  
  40.     EXAMPLE
  41.  
  42.     BUGS
  43.  
  44.     SEE ALSO
  45.  
  46.     INTERNALS
  47.  
  48.     HISTORY
  49.     29-10-95    digulla automatically created from
  50.                 utility_lib.fd and clib/utility_protos.h
  51.  
  52. *****************************************************************************/
  53. {
  54.     AROS_LIBFUNC_INIT
  55.     AROS_LIBBASE_EXT_DECL(struct Library *,UtilityBase)
  56.  
  57.     return AROS_UFC3(IPTR, hook->h_Entry,
  58.     AROS_UFCA(struct Hook *, hook, A0),
  59.     AROS_UFCA(APTR,         object, A2),
  60.     AROS_UFCA(APTR,     paramPacket, A1)
  61.     );
  62.  
  63.     AROS_LIBFUNC_EXIT
  64. } /* CallHookPkt */
  65.