WINDOWINFO structure
Applies to: desktop apps only
Contains window information.
Syntax
typedef struct tagWINDOWINFO {
DWORD cbSize;
RECT rcWindow;
RECT rcClient;
DWORD dwStyle;
DWORD dwExStyle;
DWORD dwWindowStatus;
UINT cxWindowBorders;
UINT cyWindowBorders;
ATOM atomWindowType;
WORD wCreatorVersion;
} WINDOWINFO, *PWINDOWINFO, *LPWINDOWINFO;
Members
- cbSize
-
Type: DWORD
-
The size of the structure, in bytes. The caller must set this member to
sizeof(WINDOWINFO). - rcWindow
-
Type: RECT
-
The coordinates of the window.
- rcClient
-
Type: RECT
-
The coordinates of the client area.
- dwStyle
-
Type: DWORD
-
The window styles. For a table of window styles, see Window Styles.
- dwExStyle
-
Type: DWORD
-
The extended window styles. For a table of extended window styles, see Extended Window Styles.
- dwWindowStatus
-
Type: DWORD
-
The window status. If this member is WS_ACTIVECAPTION (0x0001), the window is active. Otherwise, this member is zero.
- cxWindowBorders
-
Type: UINT
-
The width of the window border, in pixels.
- cyWindowBorders
-
Type: UINT
-
The height of the window border, in pixels.
- atomWindowType
-
Type: ATOM
-
The window class atom (see RegisterClass).
- wCreatorVersion
-
Type: WORD
-
The Windows version of the application that created the window.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
See also
- Reference
- CreateWindowEx
- GetWindowInfo
- RegisterClass
- Conceptual
- Windows
Send comments about this topic to Microsoft
Build date: 2/3/2012
- 9/11/2008
- YetAnotherGreg