mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 15:27:43 +01:00
sbuffer
This commit is contained in:
parent
6d7e97519a
commit
fab122bb30
1 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue