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