home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / msysjour / vol05 / 05 / forms / form1.c < prev    next >
Text File  |  1990-09-01  |  1KB  |  63 lines

  1. /*
  2.  * FORM LIBRARY - INITIALIZATION MODULE
  3.  *
  4.  * LANGUAGE      : Microsoft C5.1
  5.  * MODEL         : medium
  6.  * ENVIRONMENT   : Microsoft Windows 3.0 SDK
  7.  * STATUS        : operational
  8.  *
  9.  * 07/12/90 1.00 - Kevin P. Welch - initial creation.
  10.  *
  11.  */
  12.  
  13. #define    NOCOMM
  14.  
  15. #include <windows.h>
  16. #include "form.h"
  17.  
  18. /**/
  19.  
  20. /*
  21.  * FormInit( hInstance ) : HANDLE
  22.  *
  23.  *    hInstance      handle to dll instance
  24.  *
  25.  * This function initializes the data entry form library.  This
  26.  * includes saving the current library instance handle.  If the
  27.  * initialization process was successful the dll instance handle
  28.  * is returned.
  29.  *
  30.  */
  31.  
  32. HANDLE FAR PASCAL FormInit(
  33.     HANDLE        hInstance )
  34. {
  35.  
  36.     /* FORM INITIALIZATION CODE HERE */
  37.  
  38.     /* return successfully */
  39.     return( hInstance );
  40.  
  41. }
  42.  
  43. /**/
  44.  
  45. /*
  46.  * WEP( bExit ) : VOID;
  47.  *
  48.  *    bExit       flag indicating system exit
  49.  *
  50.  * This function is called when the DLL is unloaded by the system.
  51.  * It enables the library to perform any cleanup necessary.
  52.  *
  53.  */
  54.  
  55. VOID FAR PASCAL WEP(
  56.    BOOL     bExit )
  57. {
  58.  
  59.     /* warning level 3 compatibility */
  60.    bExit;
  61.  
  62. }
  63.