Adding 2 byte packing to LSA_UNICODE_STRING

pull/21/head
David Hall 2018-08-30 16:06:36 -06:00
parent 6dd91de7c4
commit 6fafeaf0b9
1 changed files with 1 additions and 1 deletions

View File

@ -946,7 +946,7 @@ namespace Vanara.PInvoke
/// The LSA_UNICODE_STRING structure is used by various Local Security Authority (LSA) functions to specify a Unicode string. Also an
/// example of unnecessary over-engineering and re-engineering.
/// </summary>
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode, Size = 8)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode, Size = 8, Pack = 2)]
[PInvokeData("Ntsecapi.h", MSDNShortId = "ms721841")]
public struct LSA_UNICODE_STRING
{