From 16a8122751223846114db9e299dd793a5c67c7cd Mon Sep 17 00:00:00 2001 From: RKrom Date: Wed, 19 Dec 2012 08:10:24 +0000 Subject: [PATCH] Added comment git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2394 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- GreenshotPlugin/UnmanagedHelpers/Structs.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/GreenshotPlugin/UnmanagedHelpers/Structs.cs b/GreenshotPlugin/UnmanagedHelpers/Structs.cs index 850e3a134..ed9c1a41d 100644 --- a/GreenshotPlugin/UnmanagedHelpers/Structs.cs +++ b/GreenshotPlugin/UnmanagedHelpers/Structs.cs @@ -211,6 +211,10 @@ namespace GreenshotPlugin.UnmanagedHelpers { } } + /// + /// The structure for the WindowInfo + /// See: http://msdn.microsoft.com/en-us/library/windows/desktop/ms632610%28v=vs.85%29.aspx + /// [StructLayout(LayoutKind.Sequential), Serializable()] public struct WindowInfo { public uint cbSize; @@ -224,8 +228,7 @@ namespace GreenshotPlugin.UnmanagedHelpers { public ushort atomWindowType; public ushort wCreatorVersion; // Allows automatic initialization of "cbSize" with "new WINDOWINFO(null/true/false)". - public WindowInfo(Boolean? filler) - : this() { + public WindowInfo(Boolean? filler) : this() { cbSize = (UInt32)(Marshal.SizeOf(typeof(WindowInfo))); } }