diff --git a/PInvoke/NTDll/NTDll.cs b/PInvoke/NTDll/NTDll.cs index 27caa85c..4d0abff3 100644 --- a/PInvoke/NTDll/NTDll.cs +++ b/PInvoke/NTDll/NTDll.cs @@ -4152,6 +4152,9 @@ namespace Vanara.PInvoke /// Pointer to a wide-character string. [MarshalAs(UnmanagedType.LPWStr)] public string Buffer; + + /// + public override string ToString() => Buffer ?? string.Empty; } /// Provides a to an object that releases a created handle at disposal using NtClose.