public static unsafe void ProcessNcMouseMove(ref WindowMessage msg, EventedWindowCore window) { fixed(WindowMessage *ptr = &msg) { var packet = new NcMouseMovePacket(ptr); window.OnNcMouseMove(ref packet); } }
protected internal virtual void OnNcMouseMove(ref NcMouseMovePacket packet) { unsafe { this.OnMessageDefault(ref ((WindowMessageWrapper *)packet.Message)->Value); } }