Skip to content
This repository was archived by the owner on Jul 26, 2023. It is now read-only.

Fix ordering in MINMAXINFO and WINDOWINFO #372

Merged
merged 1 commit into from
Feb 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions src/User32/User32+WINDOWINFO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace PInvoke
{
using System;
using System.Runtime.InteropServices;

/// <content>
Expand All @@ -14,15 +13,15 @@ public partial class User32
[StructLayout(LayoutKind.Sequential)]
public struct WINDOWINFO
{
public ushort atomWindowType;
public uint cbSize;
public uint cxWindowBorders;
public uint cyWindowBorders;
public uint dwExStyle;
public RECT rcWindow;
public RECT rcClient;
public uint dwStyle;
public uint dwExStyle;
public uint dwWindowStatus;
public RECT rcClient;
public RECT rcWindow;
public uint cxWindowBorders;
public uint cyWindowBorders;
public ushort atomWindowType;
public ushort wCreatorVersion;

public static WINDOWINFO Create()
Expand Down
6 changes: 3 additions & 3 deletions src/User32/User32+WINMAXINFO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ public partial class User32
[StructLayout(LayoutKind.Sequential)]
public struct MINMAXINFO
{
public POINT ptMaxPosition;
public POINT ptReserved;
public POINT ptMaxSize;
public POINT ptMaxTrackSize;
public POINT ptMaxPosition;
public POINT ptMinTrackSize;
public POINT ptReserved;
public POINT ptMaxTrackSize;
}
}
}