Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
724 B

  1. /*++
  2. Copyright (c) 1990 Microsoft Corporation
  3. Module Name:
  4. dllinit.c
  5. Abstract:
  6. This module contians the DLL attach/detach event entry point for the
  7. DOS PIF Setup icons resource DLL.
  8. Author:
  9. Sunil Pai (sunilp) Feb 5, 1992
  10. Revision History:
  11. --*/
  12. #include <windows.h>
  13. HANDLE ThisDLLHandle;
  14. BOOL
  15. DLLInit(
  16. IN HANDLE DLLHandle,
  17. IN DWORD Reason,
  18. IN LPVOID ReservedAndUnused
  19. )
  20. {
  21. ReservedAndUnused;
  22. switch(Reason) {
  23. case DLL_PROCESS_ATTACH:
  24. ThisDLLHandle = DLLHandle;
  25. break;
  26. case DLL_PROCESS_DETACH:
  27. case DLL_THREAD_ATTACH:
  28. case DLL_THREAD_DETACH:
  29. break;
  30. }
  31. return(TRUE);
  32. }