object = &texture->IDirect3DRMTexture3_iface;


My bad, I forgot the & in &texture->IDirect3DRMTexture3_iface, but I'm sure you got what I meant.

Cheers,
Aaryaman