home *** CD-ROM | disk | FTP | other *** search
/ WindowsWare 2 the Maxx / winmaxx.zip / winmaxx / WIN_NT / EXCEPT.ZIP / THE_DLL.C < prev   
Text File  |  1993-02-28  |  1KB  |  41 lines

  1.   /**************************************************************************\
  2.   *
  3.   *  MODULE:      THE_DLL.C
  4.   *
  5.   *  PURPOSE:     To provide the required (simple) entry point for a resource-
  6.   *               only DLL.
  7.   *
  8.   *  FUNCTIONS:   DLLEntryPoint() - DLL entry point
  9.   *
  10.   *                           Microsoft Developer Support
  11.   *                     Copyright (c) 1992 Microsoft Corporation
  12.   *
  13.   \**************************************************************************/
  14.  
  15.   #include <windows.h>
  16.  
  17.  
  18.  
  19.   /**************************************************************************\
  20.   *
  21.   *  FUNCTION:    DLLEntryPoint
  22.   *
  23.   *  INPUTS:      hDLL       - handle of DLL
  24.   *               dwReason   - indicates why DLL called
  25.   *               lpReserved - reserved
  26.   *
  27.   *  RETURNS:     TRUE (always, in this example.)
  28.   *
  29.   *               Note that the retuRn value is used only when
  30.   *               dwReason = DLL_PROCESS_ATTACH.
  31.   *
  32.   *               Normally the function would return TRUE if DLL initial-
  33.   *               ization succeeded, or FALSE it it failed.
  34.   *
  35.   \**************************************************************************/
  36.  
  37.   BOOL WINAPI DLLEntryPoint (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
  38.   {
  39.     return TRUE;
  40.   }
  41.