mirror of https://github.com/dahall/Vanara.git
Added mssing Pack = 1 to TASKDIALOG_BUTTON (#351)
Fixes access violation when calling TaskDialogIndirectpull/363/head
parent
f7c4c428be
commit
4fe53616ec
|
@ -945,7 +945,7 @@ namespace Vanara.PInvoke
|
|||
/// uses this structure.
|
||||
/// </summary>
|
||||
[PInvokeData("Commctrl.h", MSDNShortId = "bb787475")]
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode, Pack = 1)]
|
||||
public struct TASKDIALOG_BUTTON
|
||||
{
|
||||
/// <summary>Indicates the value to be returned when this button is selected.</summary>
|
||||
|
@ -1243,4 +1243,4 @@ namespace Vanara.PInvoke
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue