#pragma once #include "types.h" #include namespace Common::PageFaultHandler { enum class HandlerResult { ContinueExecution, ExecuteNextHandler, }; using Callback = std::function; using Handle = void*; bool InstallHandler(void* owner, Callback callback); bool RemoveHandler(void* owner); } // namespace Common::PageFaultHandler