Similarly, Windows adds a variety of new data structures. Again, most are defined in either WinDef.H or WinUser.H. The five examples shown in Table 2.4 appear in the WinHello demo.
Table 2.4: Five Windows Structures
Structure | Example | Meaning |
MSG | msg | Message structure |
PAINTSTRUCT | ps | Paint structure |
PT | pt | Point structure (mouse position) |
RECT | rect | Rectangle structure, two coordinate pairs |
WNDCLASS | wc | Window class structure |