mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 18:57:28 -07:00
Added comment
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2394 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
178a3d732f
commit
16a8122751
1 changed files with 5 additions and 2 deletions
|
@ -211,6 +211,10 @@ namespace GreenshotPlugin.UnmanagedHelpers {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The structure for the WindowInfo
|
||||
/// See: http://msdn.microsoft.com/en-us/library/windows/desktop/ms632610%28v=vs.85%29.aspx
|
||||
/// </summary>
|
||||
[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)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue