home *** CD-ROM | disk | FTP | other *** search
/ Programming Win32 Under the API / ProgrammingWin32UnderTheApiPatVillani.iso / src / mingw-runtime-19991107 / mingw / dllmain.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-07-30  |  818 b   |  34 lines

  1. /*
  2.  * dllmain.c
  3.  *
  4.  * A stub DllMain function which will be called by DLLs which do not
  5.  * have a user supplied DllMain.
  6.  *
  7.  * Contributors:
  8.  *  Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
  9.  *
  10.  *  THIS SOFTWARE IS NOT COPYRIGHTED
  11.  *
  12.  *  This source code is offered for use in the public domain. You may
  13.  *  use, modify or distribute it freely.
  14.  *
  15.  *  This code is distributed in the hope that it will be useful but
  16.  *  WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
  17.  *  DISCLAMED. This includes but is not limited to warrenties of
  18.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  19.  *
  20.  * $Revision: 1.1.1.4 $
  21.  * $Author: khan $
  22.  * $Date: 1998/02/04 20:14:22 $
  23.  *
  24.  */
  25.  
  26. #include <windows.h>
  27.  
  28. BOOL WINAPI 
  29. DllMain (HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
  30. {
  31.   return TRUE;
  32. }
  33.  
  34.