Greetings.
Can someone explain why IDirect3DSurface9 do not support IDirect3DResource9? I mean the call to IDirect3DSurface9::QueryInterface for IDirect3DResource9 fails?
I go deep inside d3d9.dll and it looks like CSurface::QueryInterface (which is responsible for IDirect3DSurface9 afaik) succedded only for IID_IDirect3DSurface9 and IID_IUnknown.
Checked this on my Windows 8.1 with all latest updates, 32 bit dll (WoW) on 64 bit host platform.
According the MSDN IDirect3DSurface9 is inherits from IDirect3DResource9 and implement it.
I was curious and check WINE implementation of IDirect3DSurface9::QueryInterface - it supports querying of IDirect3DResource9.
Thanks in advance.