This commit is contained in:
Mino 2020-04-13 22:18:44 +09:00
parent 6d7e97519a
commit fab122bb30

View file

@ -4,6 +4,7 @@ using Dalamud.Bootstrap.OS.Windows.Raw;
using Microsoft.Win32.SafeHandles; using Microsoft.Win32.SafeHandles;
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text;
namespace Dalamud.Bootstrap 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. // On success, receives the number of characters written to the buffer, not including the null-terminating character.
var size = buffer.Capacity; var size = buffer.Capacity;
if (!Kernel32.QueryFullProcessImageNameW(Handle, 0, buffer, ref size)) if (!Kernel32.QueryFullProcessImageNameW(m_handle, 0, buffer, ref size))
{ {
ProcessException.ThrowLastOsError(); ProcessException.ThrowLastOsError();
} }