From 53663f6653595a7e75d7d7927ed8533a2b28ada4 Mon Sep 17 00:00:00 2001 From: cuft <48060908+cuft@users.noreply.github.com> Date: Tue, 11 Jul 2023 02:31:29 +0200 Subject: [PATCH] undo [StructLayout.Pack = 8] removal at PROPVARIANT (#416) Co-authored-by: Pavel Luft --- PInvoke/Ole/Ole32/PropIdl.PROPVARIANT.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PInvoke/Ole/Ole32/PropIdl.PROPVARIANT.cs b/PInvoke/Ole/Ole32/PropIdl.PROPVARIANT.cs index e11d7ec93..2cc58b3eb 100644 --- a/PInvoke/Ole/Ole32/PropIdl.PROPVARIANT.cs +++ b/PInvoke/Ole/Ole32/PropIdl.PROPVARIANT.cs @@ -108,7 +108,7 @@ public struct PACKEDMETA /// The middle three members are reserved for future use. /// /// - [StructLayout(LayoutKind.Explicit)] + [StructLayout(LayoutKind.Explicit, Pack = 8)] public sealed class PROPVARIANT : ICloneable, IComparable, IComparable, IDisposable, IEquatable { /// Value type tag.