windows - fix memory service macros