Source code of Windows XP (NT5)
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.

55 lines
727 B

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