Removed Pack=4 from TRUSTEE struct per #307. It breaks on 64-bit builds. Default is sufficient for both 32 and 64-bit.

pull/328/head
dahall 2022-07-22 07:34:26 -06:00
parent 215a87460c
commit a16440036f
1 changed files with 1 additions and 1 deletions

View File

@ -882,7 +882,7 @@ namespace Vanara.PInvoke
/// associated with the access control or audit control information in an EXPLICIT_ACCESS structure.
/// </para>
/// </summary>
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto, Pack = 4)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
[PInvokeData("AccCtrl.h", MSDNShortId = "aa379636")]
public struct TRUSTEE
{