public HookRegistration(HookRegistrationRecord hook, IDcsMarshalledObserver observer, HookManager parent) { Contract.Requires(observer != null); this.HWnd = hook.HWnd; this.Parent = parent; this.Handler = hook.CreateHandler(); this.Target = new DcsMarshalledProxy(observer, hook.ResultType); }
public HookedProcess() { this.HookManager = new HookManager(); }