[DESK][SHELL32] Allow Desk.cpl to run standalone on WinXP/2003 again CORE-15412
authorJoachim Henze <Joachim.Henze@reactos.org>
Mon, 17 Dec 2018 21:01:49 +0000 (22:01 +0100)
committerJoachim Henze <Joachim.Henze@reactos.org>
Mon, 17 Dec 2018 21:01:49 +0000 (22:01 +0100)
commit6f8cb05cad142a8679872e695f317dc1f9728d55
treea11d6ca4d6ec1021a9f0603ff3aa940cb91669b4
parentc8f216eafdf97937dbab2ee746418137128a2b33
[DESK][SHELL32] Allow Desk.cpl to run standalone on WinXP/2003 again CORE-15412

addendum to 0.4.10-dev-502-g
d559ca9c982f9766acc5db3ea887ef2bc27acdff

That copy-paste was done once intentionally to keep our imports similar to 2003.
It's worth reading the conversation in PR #748: Getequ seems to be ok with this.

The ideal solution most likely would be to instead *statically*
link against RegLoadMUIStringW() from advapi32_vista when WINNT=0x502.
For now the stuff runs again at least.
I left the func existing in advapi32_vista.dll.
dll/cpl/desk/CMakeLists.txt
dll/cpl/desk/desk.h
dll/cpl/desk/muireg.c [new file with mode: 0644]
dll/win32/shell32/CMakeLists.txt
dll/win32/shell32/vista.c [new file with mode: 0644]