Permalink
Browse files

Fix line endings

  • Loading branch information...
AArnott committed Sep 4, 2016
1 parent 8d3da2b commit 2a7c2a44085109b3060a5dab7f158631dd62b801
@@ -1,7 +1,11 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
* text=auto
*.cs text
*.sln text
*.proj text
*.ps1 text
###############################################################################
# Set default behavior for command prompt diff.
@@ -1,46 +1,46 @@
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.namespace PInvoke{ using System.Runtime.InteropServices; /// <content> /// Contains the <see cref="DLGITEMTEMPLATE"/> nested type. /// </content> public partial class User32 { /// <summary>
/// Defines the dimensions and style of a control in a dialog box. One or more of these structures are combined with a
/// <see cref="DLGTEMPLATE" /> structure to form a standard template for a dialog box.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 2)]
public struct DLGITEMTEMPLATE
{
/// <summary>
/// The style of the control. This member can be a combination of window style values (such as WS_BORDER) and one or
/// more of the control style values (such as BS_PUSHBUTTON and ES_LEFT).
/// </summary>
public int style;
/// <summary>
/// The extended styles for a window. This member is not used to create controls in dialog boxes, but applications that
/// use dialog box templates can use it to create other types of windows.
/// </summary>
public int dwExtendedStyle;
/// <summary>
/// The x-coordinate, in dialog box units, of the upper-left corner of the control. This coordinate is always relative
/// to the upper-left corner of the dialog box's client area.
/// </summary>
public byte x;
/// <summary>
/// The y-coordinate, in dialog box units, of the upper-left corner of the control. This coordinate is always relative
/// to the upper-left corner of the dialog box's client area.
/// </summary>
public byte y;
/// <summary>
/// The width, in dialog box units, of the control.
/// </summary>
public byte cx;
/// <summary>
/// The height, in dialog box units, of the control.
/// </summary>
public byte cy;
/// <summary>
/// The control identifier.
/// </summary>
public short id;
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.namespace PInvoke{ using System.Runtime.InteropServices; /// <content> /// Contains the <see cref="DLGITEMTEMPLATE"/> nested type. /// </content> public partial class User32 { /// <summary>
/// Defines the dimensions and style of a control in a dialog box. One or more of these structures are combined with a
/// <see cref="DLGTEMPLATE" /> structure to form a standard template for a dialog box.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 2)]
public struct DLGITEMTEMPLATE
{
/// <summary>
/// The style of the control. This member can be a combination of window style values (such as WS_BORDER) and one or
/// more of the control style values (such as BS_PUSHBUTTON and ES_LEFT).
/// </summary>
public int style;
/// <summary>
/// The extended styles for a window. This member is not used to create controls in dialog boxes, but applications that
/// use dialog box templates can use it to create other types of windows.
/// </summary>
public int dwExtendedStyle;
/// <summary>
/// The x-coordinate, in dialog box units, of the upper-left corner of the control. This coordinate is always relative
/// to the upper-left corner of the dialog box's client area.
/// </summary>
public byte x;
/// <summary>
/// The y-coordinate, in dialog box units, of the upper-left corner of the control. This coordinate is always relative
/// to the upper-left corner of the dialog box's client area.
/// </summary>
public byte y;
/// <summary>
/// The width, in dialog box units, of the control.
/// </summary>
public byte cx;
/// <summary>
/// The height, in dialog box units, of the control.
/// </summary>
public byte cy;
/// <summary>
/// The control identifier.
/// </summary>
public short id;
} }}
@@ -1,54 +1,54 @@
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.namespace PInvoke{ using System.Runtime.InteropServices; /// <content> /// Contains the <see cref="DLGTEMPLATE"/> nested type. /// </content> public partial class User32 { /// <summary>
/// Defines the dimensions and style of a dialog box. This structure, always the first in a standard template for a
/// dialog box, also specifies the number of controls in the dialog box and therefore specifies the number of
/// subsequent <see cref="DLGITEMTEMPLATE" /> structures in the template.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 2)]
public struct DLGTEMPLATE
{
/// <summary>
/// The style of the dialog box. This member can be a combination of window style values (such as WS_CAPTION and
/// WS_SYSMENU) and dialog box style values (such as DS_CENTER).
/// <para>
/// If the style member includes the DS_SETFONT style, the header of the dialog box template contains additional
/// data specifying the font to use for text in the client area and controls of the dialog box. The font data
/// begins on the WORD boundary that follows the title array. The font data specifies a 16-bit point size value and
/// a Unicode font name string. If possible, the system creates a font according to the specified values. Then the
/// system sends a WM_SETFONT message to the dialog box and to each control to provide a handle to the font. If
/// DS_SETFONT is not specified, the dialog box template does not include the font data.
/// </para>
/// <para>The DS_SHELLFONT style is not supported in the DLGTEMPLATE header.</para>
/// </summary>
public int style;
/// <summary>
/// The extended styles for a window. This member is not used to create dialog boxes, but applications that use dialog
/// box templates can use it to create other types of windows.
/// </summary>
public int dwExtendedStyle;
/// <summary>
/// The number of items in the dialog box.
/// </summary>
public short cdit;
/// <summary>
/// The x-coordinate, in dialog box units, of the upper-left corner of the dialog box.
/// </summary>
public byte x;
/// <summary>
/// The y-coordinate, in dialog box units, of the upper-left corner of the dialog box.
/// </summary>
public byte y;
/// <summary>
/// The width, in dialog box units, of the dialog box.
/// </summary>
public byte cx;
/// <summary>
/// The height, in dialog box units, of the dialog box.
/// </summary>
public byte cy;
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.namespace PInvoke{ using System.Runtime.InteropServices; /// <content> /// Contains the <see cref="DLGTEMPLATE"/> nested type. /// </content> public partial class User32 { /// <summary>
/// Defines the dimensions and style of a dialog box. This structure, always the first in a standard template for a
/// dialog box, also specifies the number of controls in the dialog box and therefore specifies the number of
/// subsequent <see cref="DLGITEMTEMPLATE" /> structures in the template.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 2)]
public struct DLGTEMPLATE
{
/// <summary>
/// The style of the dialog box. This member can be a combination of window style values (such as WS_CAPTION and
/// WS_SYSMENU) and dialog box style values (such as DS_CENTER).
/// <para>
/// If the style member includes the DS_SETFONT style, the header of the dialog box template contains additional
/// data specifying the font to use for text in the client area and controls of the dialog box. The font data
/// begins on the WORD boundary that follows the title array. The font data specifies a 16-bit point size value and
/// a Unicode font name string. If possible, the system creates a font according to the specified values. Then the
/// system sends a WM_SETFONT message to the dialog box and to each control to provide a handle to the font. If
/// DS_SETFONT is not specified, the dialog box template does not include the font data.
/// </para>
/// <para>The DS_SHELLFONT style is not supported in the DLGTEMPLATE header.</para>
/// </summary>
public int style;
/// <summary>
/// The extended styles for a window. This member is not used to create dialog boxes, but applications that use dialog
/// box templates can use it to create other types of windows.
/// </summary>
public int dwExtendedStyle;
/// <summary>
/// The number of items in the dialog box.
/// </summary>
public short cdit;
/// <summary>
/// The x-coordinate, in dialog box units, of the upper-left corner of the dialog box.
/// </summary>
public byte x;
/// <summary>
/// The y-coordinate, in dialog box units, of the upper-left corner of the dialog box.
/// </summary>
public byte y;
/// <summary>
/// The width, in dialog box units, of the dialog box.
/// </summary>
public byte cx;
/// <summary>
/// The height, in dialog box units, of the dialog box.
/// </summary>
public byte cy;
} }}
@@ -1,37 +1,37 @@
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.namespace PInvoke{ using System; using System.Runtime.InteropServices; /// <content> /// Contains the <see cref="MSG"/> nested type. /// </content> public partial class User32 { /// <summary>
/// Contains message information from a thread's message queue.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct MSG
{
/// <summary>
/// A handle to the window whose window procedure receives the message. This member is <see cref="IntPtr.Zero" /> when
/// the message is a thread message.
/// </summary>
public IntPtr hwnd;
/// <summary>
/// The message identifier. Applications can only use the low word; the high word is reserved by the system.
/// </summary>
public WindowMessage message;
/// <summary>
/// Additional information about the message. The exact meaning depends on the value of the message member.
/// </summary>
public IntPtr wParam;
/// <summary>
/// Additional information about the message. The exact meaning depends on the value of the message member.
/// </summary>
public IntPtr lParam;
/// <summary>
/// The time at which the message was posted.
/// </summary>
public int time;
/// <summary>
/// The cursor position, in screen coordinates, when the message was posted.
/// </summary>
public POINT pt;
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.namespace PInvoke{ using System; using System.Runtime.InteropServices; /// <content> /// Contains the <see cref="MSG"/> nested type. /// </content> public partial class User32 { /// <summary>
/// Contains message information from a thread's message queue.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct MSG
{
/// <summary>
/// A handle to the window whose window procedure receives the message. This member is <see cref="IntPtr.Zero" /> when
/// the message is a thread message.
/// </summary>
public IntPtr hwnd;
/// <summary>
/// The message identifier. Applications can only use the low word; the high word is reserved by the system.
/// </summary>
public WindowMessage message;
/// <summary>
/// Additional information about the message. The exact meaning depends on the value of the message member.
/// </summary>
public IntPtr wParam;
/// <summary>
/// Additional information about the message. The exact meaning depends on the value of the message member.
/// </summary>
public IntPtr lParam;
/// <summary>
/// The time at which the message was posted.
/// </summary>
public int time;
/// <summary>
/// The cursor position, in screen coordinates, when the message was posted.
/// </summary>
public POINT pt;
} }}
Oops, something went wrong.

0 comments on commit 2a7c2a4

Please sign in to comment.