Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

WINDOWINFO (Structures)
 
.
Summary
The WINDOWINFO structure contains window information.

C# Definition:

[StructLayout(LayoutKind.Sequential)]
struct WINDOWINFO
{
    public uint cbSize;
    public RECT rcWindow;
    public RECT rcClient;
    public uint dwStyle;
    public uint dwExStyle;
    public uint dwWindowStatus;
    public uint cxWindowBorders;
    public uint cyWindowBorders;
    public ushort atomWindowType;
    public ushort wCreatorVersion;

    public WINDOWINFO(Boolean ?   filler)   :   this()   // Allows automatic initialization of "cbSize" with "new WINDOWINFO(null/true/false)".
    public WINDOWINFO(Boolean ?   filler)   :   this()
    {
        cbSize = (UInt32)(Marshal.SizeOf(typeof( WINDOWINFO )));
        cbSize = (UInt32)(Marshal.SizeOf(typeof( WINDOWINFO )))
    }

}

VB Definition:

<StructLayout(LayoutKind.Sequential)> Structure WINDOWINFO
    Dim cbSize As Integer
    Dim rcWindow As RECT
    Dim rcClient As RECT
    Dim dwStyle As Integer
    Dim dwExStyle As Integer
    Dim dwWindowStatus As UInt32
    Dim cxWindowBorders As UInt32
    Dim cyWindowBorders As UInt32
    Dim atomWindowType As UInt16
    Dim wCreatorVersion As Short
End Structure

User-Defined Field Types:

None.

Notes:

See RECT

Documentation
WINDOWINFO on MSDN

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions