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.

34 lines
838 B

  1. #include "precomp.h"
  2. #include "ShimHookMacro.h"
  3. DECLARE_SHIM(LUARedirectFS)
  4. DECLARE_SHIM(LUARedirectReg)
  5. DECLARE_SHIM(LUARedirectFS_Cleanup)
  6. DECLARE_SHIM(LUARedirectReg_Cleanup)
  7. DECLARE_SHIM(LUATrackFS)
  8. VOID MULTISHIM_NOTIFY_FUNCTION()(DWORD fdwReason)
  9. {
  10. switch (fdwReason)
  11. {
  12. case DLL_PROCESS_ATTACH:
  13. DPF("AcLua", eDbgLevelSpew, "LUA Shims initialized.");
  14. break;
  15. case DLL_PROCESS_DETACH:
  16. DPF("AcLua", eDbgLevelSpew, "LUA Shims uninitialized.");
  17. break;
  18. default:
  19. break;
  20. }
  21. }
  22. MULTISHIM_BEGIN()
  23. MULTISHIM_ENTRY(LUARedirectFS)
  24. MULTISHIM_ENTRY(LUARedirectReg)
  25. MULTISHIM_ENTRY(LUARedirectFS_Cleanup)
  26. MULTISHIM_ENTRY(LUARedirectReg_Cleanup)
  27. MULTISHIM_ENTRY(LUATrackFS)
  28. CALL_MULTISHIM_NOTIFY_FUNCTION()
  29. MULTISHIM_END()