https://bugs.winehq.org/show_bug.cgi?id=55908 --- Comment #13 from Fabian Maurer <dark.shadow4(a)web.de> --- (In reply to Nikolay Sivov from comment #12)
Where is the code for this module?
You can find the code at https://github.com/Wagnerp/Windows-API-CodePack-NET/blob/main/Source/Origina... Inside source/WindowsAPICodePack/Core/Interop/TaskDialogs/NativeTaskDialog.cs:
private static IntPtr AllocateAndMarshalButtons(TaskDialogNativeMethods.TaskDialogButton[] structs) { IntPtr initialPtr = Marshal.AllocHGlobal( Marshal.SizeOf(typeof(TaskDialogNativeMethods.TaskDialogButton)) * structs.Length);
IntPtr currentPtr = initialPtr; foreach (TaskDialogNativeMethods.TaskDialogButton button in structs) { Marshal.StructureToPtr(button, currentPtr, false); currentPtr = (IntPtr)((int)currentPtr + Marshal.SizeOf(button)); }
return initialPtr; }
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.