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
1.1 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. Main.cpp
  5. Abstract:
  6. Container for all shim definitions.
  7. History:
  8. 12/11/2000 linstev Created
  9. --*/
  10. #include "precomp.h"
  11. #include "ShimHookMacro.h"
  12. DECLARE_SHIM(EmulateOpenGL)
  13. DECLARE_SHIM(PrinterGetPrtL2)
  14. DECLARE_SHIM(PrinterJTDevmode)
  15. DECLARE_SHIM(TermServLayer)
  16. DECLARE_SHIM(TSPerUserFiles)
  17. VOID MULTISHIM_NOTIFY_FUNCTION()(DWORD fdwReason)
  18. {
  19. switch (fdwReason)
  20. {
  21. case DLL_PROCESS_ATTACH:
  22. DPF("ExternalShims", eDbgLevelSpew, "External Shims initialized.");
  23. break;
  24. case DLL_PROCESS_DETACH:
  25. DPF("ExternalShims", eDbgLevelSpew, "External Shims uninitialized.");
  26. break;
  27. default:
  28. break;
  29. }
  30. }
  31. MULTISHIM_BEGIN()
  32. MULTISHIM_ENTRY(EmulateOpenGL)
  33. MULTISHIM_ENTRY(PrinterGetPrtL2)
  34. MULTISHIM_ENTRY(PrinterJTDevmode)
  35. MULTISHIM_ENTRY(TermServLayer)
  36. MULTISHIM_ENTRY(TSPerUserFiles)
  37. CALL_MULTISHIM_NOTIFY_FUNCTION()
  38. MULTISHIM_END()