Can this be done by anybody or does one need to be a Wine D3D guru for that? If the task is easy it would be a good addition to http://wiki.winehq.org/JanitorialProjects .
It is nothing special. Just remove the #include "d3d9.h", and for every data type D3DFOOBAR that is missing add a WINED3DFOOBAR type to include/wine/wined3d_types.h and modify include/wine/wined3d_interface.h and the code in dlls/wined3d/ to use it. Add typecasts in dlls/ddraw, dlls/d3d8 and dlls/d3d9 as necessary.