From fab122bb30ac1454a47f53a371e5d1a7cd315057 Mon Sep 17 00:00:00 2001 From: Mino Date: Mon, 13 Apr 2020 22:18:44 +0900 Subject: [PATCH] sbuffer --- Dalamud.Bootstrap/GameProcess.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dalamud.Bootstrap/GameProcess.cs b/Dalamud.Bootstrap/GameProcess.cs index fd901e0f9..beefa9cb3 100644 --- a/Dalamud.Bootstrap/GameProcess.cs +++ b/Dalamud.Bootstrap/GameProcess.cs @@ -4,6 +4,7 @@ using Dalamud.Bootstrap.OS.Windows.Raw; using Microsoft.Win32.SafeHandles; using System; using System.Runtime.InteropServices; +using System.Text; namespace Dalamud.Bootstrap { @@ -336,7 +337,7 @@ namespace Dalamud.Bootstrap // On success, receives the number of characters written to the buffer, not including the null-terminating character. var size = buffer.Capacity; - if (!Kernel32.QueryFullProcessImageNameW(Handle, 0, buffer, ref size)) + if (!Kernel32.QueryFullProcessImageNameW(m_handle, 0, buffer, ref size)) { ProcessException.ThrowLastOsError(); }