https://bugs.winehq.org/show_bug.cgi?id=39171
--- Comment #8 from Richard rw92672685@hotmail.com --- Anton's (CC'd) patch is a better implementation then mine.
Only problem I see with it is that GetSystemPaletteEntries should provide the system colors even when the passed DC is NULL.
Creatures isn't doing this but it's something I came across in my testing of it. The test application source I attached would fail with it.