4 * Copyright 1993 Alexandre Julliard
10 #include <X11/Intrinsic.h>
11 #include <X11/StringDefs.h>
17 #define WND_MAGIC 0x444e4957 /* 'WIND' */
22 HWND hwndNext
; /* Next sibling */
23 HWND hwndChild
; /* First child */
24 DWORD dwMagic
; /* Magic number (must be WND_MAGIC) */
25 HWND hwndParent
; /* Window parent (from CreateWindow) */
26 HWND hwndOwner
; /* Window owner */
27 HCLASS hClass
; /* Window class */
28 HANDLE hInstance
; /* Window hInstance (from CreateWindow) */
29 RECT rectClient
; /* Window client area screen coords */
30 RECT rectWindow
; /* Window whole area screen coords */
31 HRGN hrgnUpdate
; /* Update region */
32 HWND hwndLastActive
; /* Last active popup hwnd */
33 FARPROC lpfnWndProc
; /* Window procedure */
34 DWORD dwStyle
; /* Window style (from CreateWindow) */
35 HANDLE hDCE
; /* Window DC Entry (if CS_OWNDC) */
36 HMENU hmenuSystem
; /* System menu */
37 WORD wIDmenu
; /* ID or hmenu (from CreateWindow) */
38 Widget shellWidget
; /* For top-level windows */
39 Widget winWidget
; /* For all windows */
40 WORD wExtra
[1]; /* Window extra bytes */
44 /* The caller must GlobalUnlock the pointer returned
45 * by this function (except when NULL).
47 WND
* WIN_FindWndPtr( HWND hwnd
);