home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sysmgmt / sms / smsapi / resdll / resdll.c < prev    next >
C/C++ Source or Header  |  1996-10-15  |  721b  |  23 lines

  1. #include <windows.h>
  2.  
  3. // **************************************************************************-
  4. //
  5. // Function: DllMain(HANDLE, DWORD, LPVOID)
  6. //
  7. // **************************************************************************-
  8. //
  9. // Description:
  10. //
  11. // This is the main initialization routine called by the NT kernel when
  12. // a new thread requests use of the DLL.  It's also called when a thread
  13. // stops using the DLL.  A parameter passed to the function identifies the
  14. // reason for calling.
  15. //
  16. // **************************************************************************-
  17.  
  18. BOOL APIENTRY DllMain(HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
  19. {
  20.     // Nothing to initialize.
  21.     return TRUE;
  22. }
  23.