d3dx9: Simplify D3DXCreateTextureFromResourceExW().