Alexandre Julliard : d3d9: Make some functions static.