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

Commit

Permalink
Merge pull request #372 from vbfox/minmax_and_window_info
Browse files Browse the repository at this point in the history
Fix ordering in MINMAXINFO and WINDOWINFO
  • Loading branch information
AArnott authored Feb 14, 2018
2 parents cb7e5fb + 75f9276 commit 7281ed0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
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;
}
}
}

0 comments on commit 7281ed0

Please sign in to comment.