home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 3
/
CDPDIII.bin
/
pd
/
programming
/
utils
/
dialoglib
/
setuphook.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-15
|
275b
|
13 lines
#include <exec/types.h>
#include <utility/hooks.h>
#include <clib/alib_protos.h>
VOID SetupHook( struct Hook *hook, ULONG (*c_function)(), VOID *userdata )
{
extern ULONG HookEntry();
hook->h_Entry = HookEntry;
hook->h_SubEntry = c_function;
hook->h_Data = userdata;
}