mirror of https://github.com/dahall/Vanara.git
Added UNICODE_STRING.ToString() overload
parent
fb90105165
commit
0ada485d14
|
@ -4152,6 +4152,9 @@ namespace Vanara.PInvoke
|
||||||
/// <summary>Pointer to a wide-character string.</summary>
|
/// <summary>Pointer to a wide-character string.</summary>
|
||||||
[MarshalAs(UnmanagedType.LPWStr)]
|
[MarshalAs(UnmanagedType.LPWStr)]
|
||||||
public string Buffer;
|
public string Buffer;
|
||||||
|
|
||||||
|
/// <inheritdoc/>
|
||||||
|
public override string ToString() => Buffer ?? string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Provides a <see cref="SafeHandle"/> to an object that releases a created handle at disposal using NtClose.</summary>
|
/// <summary>Provides a <see cref="SafeHandle"/> to an object that releases a created handle at disposal using NtClose.</summary>
|
||||||
|
|
Loading…
Reference in New Issue