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.

53 lines
1004 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1997
  6. //
  7. // File: bntsdata.cpp
  8. //
  9. //--------------------------------------------------------------------------
  10. //
  11. // bntsdata.cpp: Data for Belief Network Troubleshooting DLL
  12. //
  13. #include <windows.h>
  14. #include "bnts.h"
  15. extern "C"
  16. {
  17. int APIENTRY DllMain( HINSTANCE hInstance,
  18. DWORD dwReason,
  19. LPVOID lpReserved ) ;
  20. }
  21. static BOOL init ( HINSTANCE hModule )
  22. {
  23. return TRUE;
  24. }
  25. static void term ()
  26. {
  27. }
  28. int APIENTRY DllMain (
  29. HINSTANCE hModule,
  30. DWORD dwReason,
  31. LPVOID lpReserved )
  32. {
  33. BOOL bResult = TRUE ;
  34. switch ( dwReason )
  35. {
  36. case DLL_PROCESS_ATTACH:
  37. bResult = init( hModule ) ;
  38. break ;
  39. case DLL_PROCESS_DETACH:
  40. term() ;
  41. break ;
  42. }
  43. return bResult ;
  44. }