Crate memory_rs

source ·



  • Macro created by t0mstone You can check the original source at
  • Returns a MemoryPattern struct
  • Macro that creates the MainDLL function. This function has a special signature that needed by WinAPI to create a DLL.
  • Scoped no mangle to avoid repetition
  • Map winapi error to lib error.
  • Wrap a function to a lambda which returns a Result<_, Error> depending of the condition. You should use it like wrap_winapi!(MyFunction(), MyCondition) where MyCondition must start with an x and the comparison. For example