mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:55:41 +00:00
[WIN32K] Fix WindowExtra for some server-side classes
These values are based on apitest results.
This commit is contained in:
parent
05cd3406e7
commit
2b8c1b0dac
1 changed files with 6 additions and 6 deletions
|
@ -34,7 +34,7 @@ static NTSTATUS IntDeregisterClassAtom(IN RTL_ATOM Atom);
|
||||||
|
|
||||||
REGISTER_SYSCLASS DefaultServerClasses[] =
|
REGISTER_SYSCLASS DefaultServerClasses[] =
|
||||||
{
|
{
|
||||||
{ ((PWSTR)((ULONG_PTR)(WORD)(0x8001))),
|
{ ((PWSTR)WC_DESKTOP),
|
||||||
CS_GLOBALCLASS|CS_DBLCLKS,
|
CS_GLOBALCLASS|CS_DBLCLKS,
|
||||||
NULL, // Use User32 procs
|
NULL, // Use User32 procs
|
||||||
sizeof(ULONG)*2,
|
sizeof(ULONG)*2,
|
||||||
|
@ -43,19 +43,19 @@ REGISTER_SYSCLASS DefaultServerClasses[] =
|
||||||
FNID_DESKTOP,
|
FNID_DESKTOP,
|
||||||
ICLS_DESKTOP
|
ICLS_DESKTOP
|
||||||
},
|
},
|
||||||
{ ((PWSTR)((ULONG_PTR)(WORD)(0x8003))),
|
{ ((PWSTR)WC_SWITCH),
|
||||||
CS_VREDRAW|CS_HREDRAW|CS_SAVEBITS,
|
CS_VREDRAW|CS_HREDRAW|CS_SAVEBITS,
|
||||||
NULL, // Use User32 procs
|
NULL, // Use User32 procs
|
||||||
sizeof(LONG),
|
sizeof(LONG_PTR), // See user32_apitest GetClassInfo, 0: Pointer to ALTTABINFO
|
||||||
(HICON)OCR_NORMAL,
|
(HICON)OCR_NORMAL,
|
||||||
NULL,
|
NULL,
|
||||||
FNID_SWITCH,
|
FNID_SWITCH,
|
||||||
ICLS_SWITCH
|
ICLS_SWITCH
|
||||||
},
|
},
|
||||||
{ ((PWSTR)((ULONG_PTR)(WORD)(0x8000))),
|
{ ((PWSTR)WC_MENU),
|
||||||
CS_DBLCLKS|CS_SAVEBITS|CS_DROPSHADOW,
|
CS_DBLCLKS|CS_SAVEBITS|CS_DROPSHADOW,
|
||||||
NULL, // Use User32 procs
|
NULL, // Use User32 procs
|
||||||
sizeof(LONG),
|
16, // See user32_apitest GetClassInfo, PopupMenuWndProcW
|
||||||
(HICON)OCR_NORMAL,
|
(HICON)OCR_NORMAL,
|
||||||
(HBRUSH)(COLOR_MENU + 1),
|
(HBRUSH)(COLOR_MENU + 1),
|
||||||
FNID_MENU,
|
FNID_MENU,
|
||||||
|
@ -81,7 +81,7 @@ REGISTER_SYSCLASS DefaultServerClasses[] =
|
||||||
ICLS_TOOLTIPS
|
ICLS_TOOLTIPS
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
{ ((PWSTR)((ULONG_PTR)(WORD)(0x8004))), // IconTitle is here for now...
|
{ ((PWSTR)WC_ICONTITLE), // IconTitle is here for now...
|
||||||
0,
|
0,
|
||||||
NULL, // Use User32 procs
|
NULL, // Use User32 procs
|
||||||
0,
|
0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue