public override IntPtr Call16from32(Machine machine, bool hook, bool dlgproc, ref Win32.MSG msg32, ref Win16.MSG msg16, Func <uint> callback) { if (!hook) { HWND.EnterDestroy(); } msg16.wParam = 0; msg16.lParam = 0; callback(); return(IntPtr.Zero); }