3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * PURPOSE: Window classes
6 * FILE: subsys/win32k/ntuser/class.c
7 * PROGRAMER: Casper S. Hornstrup (chorns@users.sourceforge.net)
9 * 06-06-2001 CSH Created
12 /* INCLUDES ******************************************************************/
14 #include <ddk/ntddk.h>
15 #include <win32k/win32k.h>
16 #include <win32k/userobj.h>
17 #include <include/class.h>
18 #include <include/error.h>
19 #include <include/winsta.h>
20 #include <include/msgqueue.h>
25 /* FUNCTIONS *****************************************************************/
27 /* FIXME: Alot of thse values should NOT be hardcoded but they are */
29 NtUserGetSystemMetrics(ULONG Index)
37 case SM_CMOUSEBUTTONS:
72 case SM_CXICONSPACING:
73 case SM_CYICONSPACING:
76 return(NtUserGetSystemMetrics(SM_CXSCREEN) + 8); /* This seems to be 8
80 return(NtUserGetSystemMetrics(SM_CYSCREEN) - 20); /* This seems to be 20
85 return(NtUserGetSystemMetrics(SM_CYSCREEN) + 12);
87 return(NtUserGetSystemMetrics(SM_CYSCREEN) + 12);
102 case SM_CXMINSPACING:
104 case SM_CYMINSPACING:
129 case SM_CYKANJIWINDOW:
138 case SM_MENUDROPALIGNMENT:
139 case SM_MIDEASTENABLED:
141 case SM_MOUSEPRESENT: