home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_02_05 / 2n05030a < prev    next >
Text File  |  1991-03-27  |  509b  |  30 lines

  1. /*
  2.  *  File:    Init.C
  3.  *  Purpose:    Contains Driver INIT function
  4.  *        handler
  5.  */
  6.  
  7. #include    "device.h"
  8.  
  9.  
  10. /*  External Assembly Routines  */
  11. void    DisplayString (char *str);
  12. void    SetEndAddress (void far *rh0);
  13.  
  14. /*  External Data  */
  15. extern    char    banner[];
  16.  
  17. /*
  18.  * Initialize : INIT function handler
  19.  *   Display loading banner and perform
  20.  *   required initialization functions
  21.  */
  22.  
  23. WORD Initialize (RH_INIT far *rh)
  24. {
  25.     DisplayString (banner);
  26.     SetEndAddress (rh);
  27.     
  28.     return DEV_DONE;
  29. }
  30.