internal EndSceneHookExecutor(IAutoScalingSharedBuffer buffer, ICoreDll core) { m_buffer = buffer; m_processQueue = m_buffer.Reserve(c_queueSize + 4); m_core = core; m_event = m_core.InitializeInteraction(m_processQueue); }
private DllWrapper(int processId, SafeHandle hProcess, IAutoScalingSharedBuffer buffer) : base(IntPtr.Zero, false) { m_process = hProcess; m_buffer = buffer; m_unwrapper = buffer.Reserve(c_unwrapper.Length * 4 + c_padding); m_unwrapper.WriteNullTerminatedString(c_padding, c_unwrapper, Encoding.Unicode); m_pid = processId; SetHandle(getHandle(processId, "Kernel32.dll")); }