WineD3D patches for review and discussion - not to be applied as-is.