> FIXME("iface %p, image %p, texture %p partial stub.\n", iface, image, texture);
> + struct d3drm_texture *object;
> + HRESULT hr;
You mix declarations and code here. The compiler should have warned about that.
> +IDirect3DRMTexture *IDirect3DRMTexture_from_impl(struct d3drm_texture *texture)
> +{
> + return &texture->IDirect3DRMTexture_iface;
> +}
> +
> +IDirect3DRMTexture2 *IDirect3DRMTexture2_from_impl(struct d3drm_texture *texture)
> +{
> + return &texture->IDirect3DRMTexture2_iface;
> +}
> +
> +IDirect3DRMTexture3 *IDirect3DRMTexture3_from_impl(struct d3drm_texture *texture)
> +{
> + return &texture->IDirect3DRMTexture3_iface;
> +}
I don't think these are an improvement, I'd prefer them just written out.