Francois Gouget : wined3d: Make some surface functions static.