While the specific names escape me, there have been a few projects over the years that have replaced DirectDraw or Direct X DLL files with re-implemented counterparts that tend to work much better on modern hardware.
I believe in one such case, the original StarCraft would run with really buggy colors using the official Windows DLL files and a drop-in DLL replacement would fix the issue (these days I think Blizzard has shipped their own fix for this issue).