Skip to content

Commit cbbc524

Browse files
committed
feat: add NameBuffer placeholder for trailing char array
1 parent 1cdea26 commit cbbc524

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deadlock-dotnet-sdk/Windows.Win32/System/WindowsProgramming/OBJECT_NAME_INFORMATION.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Windows.Win32.System.WindowsProgramming;
55
public struct OBJECT_NAME_INFORMATION
66
{
77
public UNICODE_STRING Name;
8+
public unsafe fixed char NameBuffer[1];
89

910
public string NameAsString => Name.ToStringLength();
1011
}

0 commit comments

Comments
 (0)