mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
Remove old PInvoke libs
This commit is contained in:
parent
90b15d45c6
commit
4e724fbe45
8 changed files with 11 additions and 17 deletions
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Hooking;
|
||||
using PInvoke;
|
||||
using Serilog;
|
||||
using Windows.Win32.Foundation;
|
||||
using Windows.Win32.UI.WindowsAndMessaging;
|
||||
|
|
@ -81,7 +80,7 @@ internal class HookWidget : IDataWindowWidget
|
|||
|
||||
var result = this.messageBoxMinHook!.Original(hwnd, "Cause Access Violation?", caption, MESSAGEBOX_STYLE.MB_YESNO);
|
||||
|
||||
if (result == (int)User32.MessageBoxResult.IDYES)
|
||||
if (result == (int)MESSAGEBOX_RESULT.IDYES)
|
||||
{
|
||||
Marshal.ReadByte(IntPtr.Zero);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue