Hello, Alexandre, if you think
that it should be in the wined3d headers, you can add #define MAKEFOURCC(a,b,c,d) ((a << 0) | (b << 8) | (c << 16) | (d << 24)) in line 169 in wined3d_interface.h, or ask me to send a patch for that.
Forget about that, I forgot that wined3d_types is included before that line. Attached is a patch which creates WINEMAKEFOURCC and uses this.
Changelog: Stefan Dösinger: Add a WINEMAKEFOURCC macro to wined3d_types.h