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